NoClassDefFound using NXJ (0.3) [SOLVED]

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

Moderators: 99jonathan, roger, imaqine

NoClassDefFound using NXJ (0.3) [SOLVED]

Postby Ailsa Craig » Mon Jul 23, 2007 7:44 pm

Hi,

I uploaded the firmware to my NXT and i could compile
the Tune sample using nxjc Tune.java
After that i tried the
nxj -r Tune
and i got this error:
Exception in thread "main" java.lang.NoClassDefFoundError: and

strange, is "and" a java class that is supposed to be in the classpath?
I get the same error when i try to run nxjbrowse

I setup the NXJ_HOME and the JAVA_HOME as specified in the doc.
Am I missing something?

I am using NXJ on Windows XP
Ailsa Craig
New User
 
Posts: 2
Joined: Mon Jul 23, 2007 7:41 pm

Postby Ailsa Craig » Mon Jul 23, 2007 7:52 pm

I solved the error myself.
NXJ_HOME mustn´t point to a directory which contains blanks in the path.
Ailsa Craig
New User
 
Posts: 2
Joined: Mon Jul 23, 2007 7:41 pm

Postby bbagnall » Tue Jul 24, 2007 3:29 am

I think you can also put the NXJ_HOME path in double quotes like:
"c:\my directory\lejos_nxj"
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: Baidu [Spider], Google [Bot] and 1 guest

more stuff