Modify NXJ 0.4 firmware

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

Moderators: 99jonathan, roger, imaqine

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
thito
New User
 
Posts: 1
Joined: Sun Sep 16, 2007 7:19 am

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.
lawrie
leJOS Team Member
 
Posts: 909
Joined: Mon Feb 05, 2007 1:27 pm


Return to NXJ Software

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests

more stuff