I use the jpct library for 3d work, and want to incorporate it into a current lejos project. My issue is that the PC program I wrote to interact with the NXT will not work when run through the standard java compiler/interpreter, but must be run through nxjpcc and nxjpc. This works fine until I try to import the 3d classes, at which point the nxjpcc compiler gives an error message saying it could not import the package. The libraries include fine when used in other programs and compiled by the standard java compiler, but nxjpcc does not recognize them.

Also, nxjpcc supports the standard javac parameters for adding libraries to the classpath:nxjpcc -cp /path/to/jpcts/files/1.jar:/path/to/jpcts/files/2.jarwill do the trick. On windows, you need to replace : by ;

Thank you for the advice. I am using JCreator, so that may be part of the issue. I ended up finding a workaround, I used a temporary file to send the data from the NXT communications class to the 3d simulator. I appreciate the help though. I will post the code for the whole project to the projects section when I get the time to clean it up.