[SOLVED]NEED HELP!! Eclipse Plugin rcxcomm.jar

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

Moderator: roger

[SOLVED]NEED HELP!! Eclipse Plugin rcxcomm.jar

Postby DHS1 » Tue Oct 25, 2011 2:21 pm

Hello all,

I have been struggling with getting Eclipse to see the rcxcomm.jar file for days. It is not seeing it in the CLASSPATH, however the JAR file is there. I am trying to run the basic lejos_win32_2_1_0/jelos/rcxcomm/examples/instream/Write.java given. I can get it to work fine via command line, but the eclipse plugin doesn't work because it doesn't see the rcxcomm JAR file.

The plugin works fine for anything dealing with the classes.jar file, because it sees that. The only things that the plugin sees in the C:\eclipse\plugins\org.lejos_1.2.0\lib\classes.jar and the C:\workspace\Test class, no matter what I add to the Referenced Libraries. I've seen many posts about the same problem, however nobody has confirmed a solution (I've certainly tried them all with no avail). One person said to add lejos/lib to the Windows>Preferences>Java>Build Path>Classpath Variables, and I've tried that, but it didn't work. Maybe I need to name the class path variable a certain name?

If anyone has gotten rcxcomm classes to work in the eclipse plugin, PLEASE help!

Class josx.rcxcomm.RCXPort (file josx/rcxcomm/RCXPort.class) not found in CLASSPATH js.tinyvm.ClassPath@1b323af

Image
Last edited by DHS1 on Wed Oct 26, 2011 7:13 am, edited 1 time in total.
DHS1
New User
 
Posts: 5
Joined: Tue Oct 25, 2011 2:02 pm

Re: NEED HELP!! Eclipse Plugin rcxcomm.jar

Postby DHS1 » Wed Oct 26, 2011 7:13 am

I fixed it. First I followed this guide:

viewtopic.php?f=10&t=2518

See the last post and download the guide (open in microsoft word 2007+). Follow that.

Then you will see this error:

Link failed due to exception: Error with creating binary closure: Expected java.lang.Object: josx.rcxcomm .... etc etc.
Image

After spending hours researching for a fix, I finally just tried deleting it.
Image

AND IT WORKED! This is the solution, just delete the error 8) . Makes perfect sense! Anyways, that worked, and I was finally given the fully functional IR Tower and Robot I was waiting for. Hope this helped!
DHS1
New User
 
Posts: 5
Joined: Tue Oct 25, 2011 2:02 pm


Return to RCX Software

Who is online

Users browsing this forum: No registered users and 1 guest

more stuff