Linux -Fatal Error: Unable to find package java.lang[SOLVED]

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

Moderators: imaqine, 99jonathan, roger

New User
Posts: 1
Joined: Thu Jul 19, 2007 9:06 pm

Linux -Fatal Error: Unable to find package java.lang[SOLVED]

Postby Diego » Fri Jul 20, 2007 8:51 am

I have a little problem. I've builded and configured leJOS 0.3 on Debian GNU/Linux unstable. My NXT has been flashed with lejOS successfully but now I can't compile the sample program:

Code: Select all

diego@lain:/opt/lejos_nxj/samples/Tune$ nxjc
Fatal Error: Unable to find package java.lang in classpath or bootclasspath

This is my env (CLASSPATH is not defined)

Code: Select all

diego@lain:~$ echo $NXJ_HOME
diego@lain:~$ echo $PATH
diego@lain:~$ echo $JAVA_HOME

Can you help me please? :)

(Sorry for the re-post)

leJOS Team Member
Posts: 965
Joined: Mon Feb 05, 2007 1:27 pm

Postby lawrie » Sat Jul 21, 2007 9:40 am

There is a bug in the Linux version of nxjc, that I am surprised that nobody else has hit yet.

Edit lejos_nxj/bin/nxjc.bat and change:




Return to “NXJ Software”

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 1 guest