Problem with LeJOS JDK

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
bungeshea
Posts: 207
Joined: 14 Aug 2011, 08:45
Location: Australia
Contact:

Problem with LeJOS JDK

Post by bungeshea »

I am trying to download LeJOS NXJ for my NXT. I am using this guide to install it on Microsoft XP Home. The totorial says I need to download Java Develper Kit 1.6, but I can't seen to find the download from the supplied website.
kvols
Posts: 29
Joined: 14 Oct 2010, 22:09

Re: Problem with LeJOS JDK

Post by kvols »

Have another look. Windows downloads are to two lines near the bottom:

Windows x86 76.66 MB jdk-6u25-windows-i586.exe
Windows x64 67.27 MB jdk-6u25-windows-x64.exe

- depending on wether you want a 32-bit version or you want a 64-bit version. Simply download and run the EXE-file to install.
timpattinson
Posts: 224
Joined: 30 Oct 2010, 04:10
Location: 127.0.0.1
Contact:

Re: Problem with LeJOS JDK

Post by timpattinson »

Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
gloomyandy
Posts: 323
Joined: 29 Sep 2010, 05:03

Re: Problem with LeJOS JDK

Post by gloomyandy »

Make sure you install the 32bit version. The tools to talk to the NXT will not work if you use 64bit Java (The Lego Fantom SDK is only available in 32 bit versions)...

Andy
bungeshea
Posts: 207
Joined: 14 Aug 2011, 08:45
Location: Australia
Contact:

Re: Problem with LeJOS JDK

Post by bungeshea »

Thanks guys but I had already installed Windows x86 76.66 MB jdk-6u25-windows-i586.exe. The problem is when I tried to install LeJOS NXJ leJOS_NXJ_0.9.0-Setup.exe, it says "No JDK Installed". I thought I might need a different version.
Last edited by bungeshea on 18 May 2011, 03:32, edited 1 time in total.
gloomyandy
Posts: 323
Joined: 29 Sep 2010, 05:03

Re: Problem with LeJOS JDK

Post by gloomyandy »

You need to make sure that the JDK bin directory is in your path. If you open up a cmd window on your system and type javac -version and get a command not found error then the JDK is not in the path and leJOS will complain... You can modify your path using the system properties > advanced tab and select environment variables... See:
http://introcs.cs.princeton.edu/15inout ... s-cmd.html

Andy
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 7 guests