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 / *366 (-20)
  urgent! lejos run error
 
Hi guys, im trying to get the Lejos vision package set up on my computer for a university project. I've got the motion example that comes with the package compiling but I'me still getting an error when I try to run it: Exception reading (...) (21 years ago, 31-Mar-05, to lugnet.robotics.rcx.java)
 
  Re: problem downloading
 
Hi, (...) this means that the class files are in a newer format that Lejos cannot use, so the compiler needs a '-target 1.1' option (with Java 1.5 you may also need '-source 1.2'). It seems your Lejos version is rather old, the current ones put the (...) (21 years ago, 14-Mar-05, to lugnet.robotics.rcx.java)
 
  problem downloading
 
hi .... i have a problem downloading my java programs to the RCX, they don't give any errors when compiling them using the lejosc command, but when trying to use the lejos command i get this error : Exception reading Test (...) (21 years ago, 9-Mar-05, to lugnet.robotics.rcx.java)
 
  Re: communication with USB on Linux
 
(...) So, unless I move to the 2.6.10 kernel and CVS leJOS, there's little to no chance I'll get the desired bi-directional communication with the USB tower working. (21 years ago, 13-Feb-05, to lugnet.robotics.rcx.java)
 
  Re: communication with USB on Linux
 
(...) Probably not. (...) You can keep it, just install the new one in a different directory and make sure you don't use the old one (change LEJOS_HOME and PATH). Jürgen (21 years ago, 13-Feb-05, to lugnet.robotics.rcx.java)
 
  Re: communication with USB on Linux
 
Hi Juergen, Thank you for your answer. Some questions though: (...) Yes, I did. That solved some problems. (...) Does CVS work with my 2.4.26 kernel as well? Should I remove the 'old' leJOS version first? (...) Thanks Huub (21 years ago, 13-Feb-05, to lugnet.robotics.rcx.java)
 
  Re: communication with USB on Linux
 
Hi Huub, (...) have you run make? (...) You can also get it working with the CVS version of Lejos and a Linux kernel >= 2.6.7, which includes the newest driver. To get and install Lejos from CVS do $ cvs -d:pserver:anonymous...root/lejos login $ cvs (...) (21 years ago, 13-Feb-05, to lugnet.robotics.rcx.java)
 
  Re: Help please !!!
 
(...) No, the documentation only talks about the path, which is a system variable, not an env. variable. (I assume you are using windows) I think you will have better luck if javac really is in your path. To verify that it is, type path in the (...) (21 years ago, 12-Feb-05, to lugnet.robotics.rcx.java)
 
  communication with USB on Linux
 
Hi, For some time I've been trying to get bi-directional communication using: - Slackware Linux 10.0 - leJOS 2.1.0 - USB IR-tower - RCX 2.0 So far I've managed to upload leJOS and the written software to the RCX. However, when I try to run the (...) (21 years ago, 12-Feb-05, to lugnet.robotics.rcx.java)
 
  Re: Help please !!!
 
does documentation not talk about what values should be given to JAVAC env variable (...) (21 years ago, 5-Feb-05, to lugnet.robotics.rcx.java)
 
  Re: Help please !!!
 
as <J2SDK1...>\bin\javac (...) (21 years ago, 5-Feb-05, to lugnet.robotics.rcx.java)
 
  Re: Help please !!!
 
ya javac works fine from the command prompt ... so what can i define JAVAC as? (...) (21 years ago, 4-Feb-05, to lugnet.robotics.rcx.java)
 
  Re: Help please !!!
 
you seem to be having some basic problem.. try defining JAVAC variable and r u able to execute command javac from the command prompt (...) (21 years ago, 4-Feb-05, to lugnet.robotics.rcx.java)
 
  Help please !!!
 
hi ... im a newbie ... i have a problem with the lejos setup i did all the instructions and when i tried to compile a java file using the lejosc command i got this reply: Unable to execute javac. Return value of exec is -1. Make sure javac is in the (...) (21 years ago, 4-Feb-05, to lugnet.robotics.rcx.java)
 
  Any Code Archive, Links or Send Me Zip File Of Code?
 
Hi I am a newbie. I have the Excellent Core Lego Mindstorms Programming Book, but is there a code archive, link, or could someone send me a zip? file with some examples? Cheers Dale (22 years ago, 7-Dec-04, to lugnet.robotics.rcx.java)
 
  vision snapshots
 
Hi, I've been using the lejos vision system to track a pattern of lights in the ceiling. It splits the image into regions, selects the brightest, zooms in, repeats, and so on. It then repeates this process for every point in the pattern. It returns (...) (22 years ago, 19-Nov-04, to lugnet.robotics.rcx.java)
 
  Re: java.lang.NoClassDefFoundError: josx/rcxcomm/RCXPort
 
(...) That it compiles shows that RCXPort.class is there, it should be in c:\lejos\lib\pcrcxcomm.jar (you can check with jar tvf c:\lejos\lib\pcrcxcomm.jar ). So apparently the java command doesn't get the proper classpath You can try giving it (...) (22 years ago, 16-Nov-04, to lugnet.robotics.rcx.java)
 
  Re: java.lang.NoClassDefFoundError: josx/rcxcomm/RCXPort
 
(...) Juergen, Many thanks for that, but I am still getting the same error even when renaming my directories without spaces. Everything compiles fine, it is just when I try to run the code. Any other ideas? Thanks again. Laurence (22 years ago, 16-Nov-04, to lugnet.robotics.rcx.java)
 
  Re: java.lang.NoClassDefFoundError: josx/rcxcomm/RCXPort
 
Hi Laurence, (...) it might be the spaces in your classpath that cause the problem. Jürgen (22 years ago, 12-Nov-04, to lugnet.robotics.rcx.java)
 
  java.lang.NoClassDefFoundError: josx/rcxcomm/RCXPort
 
Hello, I am new to Lejos and have been trying PC <-> RCX communications. Unfortunately the books I am using are out of date, I see now that RCXComm is being used to Comms. I followed the Tutorial on the Lejos site, the code compiles fine, but am (...) (22 years ago, 12-Nov-04, to lugnet.robotics.rcx.java)

Next Page:  5 more | 10 more | 20 more
Redisplay Messages:  All | Compact

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