Modify NXJ 0.4 firmware

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

Moderators: roger, imaqine, 99jonathan

thito
New User
Posts: 1
Joined: Sun Sep 16, 2007 7:19 am

Modify NXJ 0.4 firmware

Postby thito » Sun Sep 16, 2007 7:26 am

Hello
I have a NXT tiltsensor and I want to see what the other registry can output me.
I've changed the code in
lejos_nxj\src\java\classes\lejos\nxt\tiltsensor.java
but when I compile my java test file, i doesn't recognize the change in tiltsensor.java

What can I do?
Thanks

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

Postby lawrie » Sun Sep 16, 2007 7:09 pm

You need to rebuild classes.jar. The simplest way to do this is to get the latest source out of SVN and use the ant build file. This is particularly easy if you use Eclipse.

You can rebuild classes.jar, by changing directory to lejos_nxj\src\java\classes, recompiling all the java files and using jar to rebuild classes.jar, but you will need to work out the parameters to javac and jar. You will then need to replace classes.jar in lejos_nxj\lib.


Return to “NXJ Software”

Who is online

Users browsing this forum: No registered users and 0 guests