To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.javaOpen lugnet.robotics.rcx.java in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / Java / 385
384  |  386
Subject: 
help on lejos\rcxcomm
Newsgroups: 
lugnet.robotics.rcx.java
Date: 
Wed, 11 Oct 2006 18:46:07 GMT
Viewed: 
10989 times
  
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 ?



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR