logo logo
Home arrow Forums...
Tuesday, 22 May 2012
 
 
 
Conscious-Robots.com Forum  


Raúl
Moderator

Moderator
Posts: 591
graph
Karma: 10  
Using leJOS with RCX 2.0 and JDK 6 - 2006/12/13 07:28 I am usgin leJOS in order to run JAVA applications in the Lego RCX brick [2]. See [1] for details and tutorials.

Using the JDK 6 from Sun I get the following error when trying to compile:

Code:

 D:lejoscheck>lejosc DistributionSmokeTest.java javactarget release 1.1 conflicts with default source release 1.5



So I had to specify the source as 1.3. I altered the file lejosjc.bat as follows:

Code:

 @echo off if "$LEJOS_HOME" == "" goto end javac -target 1.1 -source 1.3 -bootclasspath %LEJOS_HOME%libclasses.jar;%LEJOS_HOME%librcxrcxcomm.jar;%CLASSPATH% %%%%%%%%%9 :end




[1] http://lejos.sourceforge.net/
[2] http://mindstorms.lego.com/ (NXT)
[3] http://mindstorms.lego.com/eng/default_ris.asp (RCX - RIS 2.0)
Raúl Arrabales Moreno. conscious-robots.com/raul
  The administrator has disabled public write access. Please, register to participate in the forum.





Lost Password?
No account yet? Register
 Conscious Robots RSS FeedConscious Robots RSS Feed

Find us on Facebook

Follow us on TwitterFollow us on twitter
Spotlight

Machine Consciousness Bibliography Database

 

ConsScale
The Cognitive Machine Consciousness Scale

 
Last Posts in Forum
 
CR
miel continental