Hi Lawrie -

     thank you for clarifing the difference between the SDK and the JRE.  
     
      much appreciated!
              Robin



----- Original Message ----
From: Lawrie Griffiths <[EMAIL PROTECTED]>
To: Robin <[EMAIL PROTECTED]>; [email protected]
Cc: Robin Houseman <[EMAIL PROTECTED]>
Sent: Tuesday, February 12, 2008 6:56:32 PM
Subject: Re: [Lejos-discussion] Need help setting up NXJ software for NXT


Hi Robin,
 
Java has a Java Development Kit (JDK) sometimes referred to as an SDK (Software 
Development Kit) as well as as a Java Runtime Environment (JRE). The "java" 
command comes with the JRE and the "javac" command comes with the JDK. You need 
the JDK to run leJOS.
 
To run "javac" you need the JDK not just the JRE installed.
 
Once you have installed the JDK, you should set up JAVA_HOME as a system 
environment variable, 
and add %JAVA_HOME%\bin to your PATH environment variable.
 
Once that is done, open a command window, and type javac. You should see some 
help information on the javac command, starting:
 
Usage: javac <options> <source files>
 
When you have javac working, leJOS should work for you.
 
You can make things work without setting JAVA_HOME but it is best to set it  
 
Lawrie
 
----- Original Message ----- 
From: Robin 
To: [email protected] 
Cc: Robin Houseman 
Sent: Tuesday, February 12, 2008 9:31 PM
Subject: [Lejos-discussion] Need help setting up NXJ software for NXT


hello -
 
     I humbly request your assistance.   My son received an NXT for Christmas.  
 I've tried for a month and half now to install the NXJ software on our 
computer and failed.    I've read everything I can find in the online    
support and am still stuck.
 
    Here's what I've done so far:
 
    1)Installed the NXJ software
        being new to this...I updated the firmware on the NXT at this point.   
Is this okay???
 
    2)installed libusb filter driver
    3)setup the variable NXJ_HOME and added it to the system PATH variable, as 
well as, %NXJ_HOME%/bin
    4)Java....
        I'm very confused about java.  I've read some places where I need the 
JAVA SDK, 
        and someplace else that I need the JAVA JRE.   I read one place I need 
to add JAVA_HOME to the
        system PATH variable,  and another place that I do not.   I currently 
have jre1.5.0_9 installed
 
        In either case,   when I attempt to run
        nxjc tune.java
        I get the error message:
        javac is not recognized as an internal or external command, operable 
program or batch file
 
      I've tried to run this command: ( nxjc tune.java)
      1- with java sdk installed
       2-uninstall java sdk, and install jre
       3-with java_home defined,   and without java_home defined.
 
       in each scenario - I get the javac not recognized.  
 
 
       I attempted to register on the lejos.org this afternoon, and got the 
message the page couldn't be displayed.
 
      My son would really like to use his NXT.   Please, please, please help me 
get the software setup for him.
 
      thanks,
         Robin    



Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ 



_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion




No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.2/1272 - Release Date: 11/02/2008 
17:28


      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to