| | | | |
| |
| Hello,
I try to launch the example read/write PC<->RCX.
The RCX part (Read) is compiled and downloaded.
But I don't managed to the PC's part (write).
It compiles with lejosjc.bat.
But with java.exe, the following error message appears :
-----------------------
D:\developpement\mindstorms\lejos\rcxcomm\examples\instream>java Write
Exception in thread "main" java.lang.UnsatisfiedLinkError: init
at josx.rcxcomm.LLC.init(Native Method)
at josx.rcxcomm.LLCHandler.<init>(LLCHandler.java:18)
at josx.rcxcomm.RCXPort.<init>(RCXPort.java:18)
at Write.main(Write.java:9)
---------------------------------------
With all my reads on the net, I think it is a problem of CLASSPATH.
I define it just like this :
-------------------------------------------------------------
D:\developpement\mindstorms\lejos\rcxcomm\examples\instream>set CLASSPATH
CLASSPATH=D:\developpement\mindstorms\lejos\lib\rcxcomm.jar;D:\developpement\min
dstorms\lejos\lib\pcrcxcomm.jar;D:\developpement\mindstorms\lejos\lib\classes.ja
r;D:\developpement\mindstorms\lejos\lib\jtools.jar;"C:\Program Files\Java\jdk1.5
.0_09\bin";D:\developpement\mindstorms\lejos\classes;
--------------------------------------------------------------------------
I don't understand. Can u help me ?
| | | | |