nxj -r Tune error

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

Moderators: 99jonathan, roger, imaqine

nxj -r Tune error

Postby Ortela » Wed Aug 08, 2007 6:55 am

nxjc Tune.java works fine, and the nxjflash too. but when I enter "nxj -r Tune" I get the following errer message " Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\Lejos_NXJ\
lib\pctools/jar;C:\Program"
Ortela
New User
 
Posts: 5
Joined: Sat Jun 30, 2007 4:08 pm

Postby mbshawaii » Tue Aug 14, 2007 9:18 am

I have the exact same error message, word for word. Any resolution on this?

thanks
mbshawaii
New User
 
Posts: 1
Joined: Tue Aug 14, 2007 9:17 am

Postby 99jonathan » Tue Aug 14, 2007 6:04 pm

There is a current restriction that the nxj commands do not work if lejOS NXJ is installed in a folder with spaces in the name
(such as "Program Files"). Move it to a folder with no spaces in the name.


or you should just be able to encase the class variable in "".



from viewtopic.php?t=372
(all hail the search button!!!)
99jonathan
Moderator
 
Posts: 122
Joined: Thu Mar 01, 2007 5:30 am

How to make LEJOS work without stress

Postby Ortela » Thu Aug 16, 2007 7:46 pm

I have solved the problem by myself.

To make it work, you need to install JAVA SDK on C:\sun\SDK “ without blank spaces in the root address ” (standard it will install fine).

You need to install JAVA JDK on C:\Java “ without blank spaces in the root address ” (standard it will install in C:\Program Files\ ). C:\ program File \... have blank spaces in the root name and it will not work with LEJOS and ECLIPSE.

The same for LibUSB-Win32. You need to install it like C:\LibUSB-Win32

For me it works fine. I hoop its work for you too
Ortela
New User
 
Posts: 5
Joined: Sat Jun 30, 2007 4:08 pm

Postby bbagnall » Mon Aug 20, 2007 4:07 pm

I noticed it is cutting something off due to the space in "C:\Program Files\..." as you can tell by the end of that error message. Just curious, if you put this location in your classpath in quotes does it work?

e.g. NOT THIS:
.;C:\Program Files\{whatever}

BUT THIS:
.;"C:\Program Files\{whatever}"

BTW You can also use the shortened version of directory names:

c:\progra~1\
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 5 guests

more stuff