Hi Juan,

You need to do:

lejoslink HelloWorld -o HelloWorld.bin

Without the  -o parameter, it will send the output to the command windows.

Lawrie

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


> Sorry, but I am not very good with the configuration
>
> I will put my Enviroment Variables with values:
>
> PATH
> C:\Archivos de programa\Java\jdk1.5.0_09\bin\;
> C:\DATOS\ROBOTICS\NXJ\lejos_NXJ_win32_0_1_0alpha\bin\
>
> JAVA_HOME
> C:\Archivos de programa\Java\jdk1.5.0_09\
>
> SET JAVA_HOME = "C:\Archivos de programa\Java\jdk1.5.0_09\"
>
> LEJOS_HOME
> C:\DATOS\ROBOTICS\NXJ\lejos_NXJ_win32_0_1_0alpha\
>
> SET LEJOS_HOME = "C:\DATOS\ROBOTICS\NXJ\lejos_NXJ_win32_0_1_0alpha\"
>
> CLASSPATH = "."
>
> SET CLASSPATH ="."
>
> At the end I can Upload NXJ Code into NXT brick and I can compile Java 
> Code but
> I cant link.
>
> When I try to link my DOS screen shows a lot of ASCII codes and at the end 
> I
> listen a bip with my speakers.
>
> C:\DATOS\ROBOTICS\NXJ>lejoslink HelloWorld
>
> If i Put the same but with the extension .class
>
> C:\DATOS\ROBOTICS\NXJ>lejoslink HelloWorld.class
>
> the output is the following:
>
> C:\DATOS\ROBOTICS\NXJ>echo off
> Class HelloWorld.class (file HelloWorld/class.class) not found in 
> CLASSPATH .;C:
> \DATOS\ROBOTICS\NXJ\lejos_NXJ_win32_0_1_0alpha\\3rdparty\lib\bcel-5.1.jar;C:\DAT
> OS\ROBOTICS\NXJ\lejos_NXJ_win32_0_1_0alpha\\3rdparty\lib\commons-cli-1.0.jar;C:\
> DATOS\ROBOTICS\NXJ\lejos_NXJ_win32_0_1_0alpha\\lib\jtools.jar;C:\DATOS\ROBOTICS\
> NXJ\lejos_NXJ_win32_0_1_0alpha\\lib\classes.jar
>
> C:\DATOS\ROBOTICS\NXJ>
>
> Juan Antonio Breña Moral
> http://www.juanantonio.info
>
>
>
>
> -------------------------------------------------------------------------
> 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