File open/handling error

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

File open/handling error

Postby icfixx » Thu Feb 15, 2007 10:11 pm

Hi when i run

C:\Lejos\samples\Listen>lejosdl Test
found 5 busses
VM file size is 24272
Error opening Java file: File open/handling error

NXT is on and all the cables are pluged in
I have installed and tested the NXT drivers
All the required paths are set and
I have installed SDK 1.4

What else can i do to get it running?
icfixx
New User
 
Posts: 1
Joined: Thu Feb 15, 2007 9:32 pm

Re: File open/handling error

Postby index » Sat Feb 17, 2007 10:34 pm

icfixx wrote:Hi when i run

C:\Lejos\samples\Listen>lejosdl Test
found 5 busses
VM file size is 24272
Error opening Java file: File open/handling error


Hi icfixx,

the following log may help to solve your problem:

Code: Select all
C:\Programme\Cygwin\lejos_nxj\samples\HelloWorld>lejosdl HelloWorld
found 4 busses
VM file size is 24272
Error opening Java file: File open/handling error

C:\Programme\Cygwin\lejos_nxj\samples\HelloWorld>lejosdl HelloWorld.bin
found 4 busses
VM file size is 24272
Java binary size is 1053
NXT device in reset mode located and opened.
Starting C program now...

C:\Programme\Cygwin\lejos_nxj\samples\HelloWorld>


index
index
New User
 
Posts: 2
Joined: Sat Feb 17, 2007 10:16 pm
Location: Mannheim, Germany

Postby bbagnall » Sun Feb 25, 2007 8:52 am

Icfixx, you'll need to upload the .bin file that is produced by lejoslink.

1. lejosjc Test.java
2. lejoslink -o Test.bin Test
3. lejosdl Test.bin
User avatar
bbagnall
Site Admin
 
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 1 guest

cron
more stuff