Hi Juan,

Your problem with lejosjc is probably that the CLASSPATH has spaces in it. 
lejosjc.bat ought to put quotes around the CLASSPATH in the -booclasspath 
parameter. Either edit lejosjc.bat to put the quotes in or remove the stuff 
from your CLASSPATH (e.g SET CLASSPATH=".").

This version of lejos NXJ runs programs in RAM using the SAMBA boot monitor. 
This means that you lose the program after it has run and the NXT has 
powered down. To run it again you need to download it again (which is more 
or less instantaneous). A future version will hold the program in a file in 
flash memory.

SAMBA ticks when a lejos program is not being run.

To restore the LEGO firmware, run the Mindstorms software and update the 
firmware. If you have problems with this it shouldn't be anything to do with 
lejos - check your USB connection on the PC and if necessary do a long reset 
again (but this should not be necessary).

Lawrie

----- Original Message ----- 
From: "JAB, Juan Antonio Breña Moral" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, January 17, 2007 8:09 PM
Subject: [Lejos-discussion] NXJ: How to run my first program with NXJ


> Once I have configured my laptop to program with NXJ. I want to program my 
> firt
> program and in my DOS console i Put: lejosjc MemoryTest.java then, the 
> console
> put all options
>
> I dont understand.
>
> C:\DATOS\ROBOTICS\NXJ>lejosjc MemoryTest.java
> javac: invalid flag: de
> Usage: javac <options> <source files>
> where possible options include:
>  -g                         Generate all debugging info
>  -g:none                    Generate no debugging info
>  -g:{lines,vars,source}     Generate only some debugging info
>  -nowarn                    Generate no warnings
>  -verbose                   Output messages about what the compiler is 
> doing
>  -deprecation               Output source locations where deprecated APIs 
> are u
> sed
>  -classpath <path>          Specify where to find user class files
>  -cp <path>                 Specify where to find user class files
>  -sourcepath <path>         Specify where to find input source files
>  -bootclasspath <path>      Override location of bootstrap class files
>  -extdirs <dirs>            Override location of installed extensions
>  -endorseddirs <dirs>       Override location of endorsed standards path
>  -d <directory>             Specify where to place generated class files
>  -encoding <encoding>       Specify character encoding used by source 
> files
>  -source <release>          Provide source compatibility with specified 
> release
>
>  -target <release>          Generate class files for specific VM version
>  -version                   Version information
>  -help                      Print a synopsis of standard options
>  -X                         Print a synopsis of nonstandard options
>  -J<flag>                   Pass <flag> directly to the runtime system
>
>
> C:\DATOS\ROBOTICS\NXJ>
>
> I have tested to execute bin files that are incluided in the zip with the
> command lejosdl, and I see the logo and the execution, but how to comeback 
> to
> program with NXT-G
>
> Now in my brick I sound a low tick. How to see my old menu?
>
> Thanks
>
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Lejos-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lejos-discussion
>
>
> -- 
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.16.7/618 - Release Date: 06/01/2007 
> 19:47
>
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to