Installation Problems

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: roger, imaqine, 99jonathan

Mangus
New User
Posts: 3
Joined: Thu Oct 25, 2007 1:49 am

Installation Problems

Postby Mangus » Thu Oct 25, 2007 1:52 am

Hi. Here's my problem. I followed all of the tutorials that i could find on
installing Lejos on my computer for use on an NXT brick. I did all of the environment variables and whenever i try to run lejosdl, nxjflash, or lejosfirmdl command prompt gives me the error: 'lejosdl' is not recognized as an internal or external command, operable program or batch file. This is after i type C:\>lejosdl . I am sure that there is a simple fix for this and i am too dumb to know how to fix it. Please Help!!! Thanks.

99jonathan
Moderator
Posts: 122
Joined: Thu Mar 01, 2007 5:30 am

Postby 99jonathan » Thu Oct 25, 2007 2:17 am

Have you set your PATH variable to include C:/lejos_nxj/bin (or equivalent)?

Mangus
New User
Posts: 3
Joined: Thu Oct 25, 2007 1:49 am

Thanks for the reply but....

Postby Mangus » Fri Oct 26, 2007 1:00 am

Hi. Thanks for the reply. I did that and it is still giving me the same stupid error message. My bin files are in C:\java\lejos_nxj\bin. Could you tell me what to put for the environment variables? I am new at this kind of stuff and still quite stupid. C:\Program Files\Java\jdk1.6.0_02 is where my JDK is. Thanks!!

99jonathan
Moderator
Posts: 122
Joined: Thu Mar 01, 2007 5:30 am

Postby 99jonathan » Fri Oct 26, 2007 4:45 am

Add these variables:
JAVA_HOME:
C:\Program Files\Java\jdk1.6.0_02\

NXJ_HOME:
C:\java\lejos_nxj

Add this onto ur PATH variable:
;C:\Program Files\Java\jdk1.6.0_02\bin;C:\java\lejos_nxj\bin

User avatar
bbagnall
Site Admin
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm

Postby bbagnall » Sat Oct 27, 2007 5:20 pm

Just a note, Magnus, it is more "up to date" to use nxjc and nxj (and NXJ_HOME) rather than lejosc, lejosdl and lejosfirmdl. You can still use those other names and it will work, but I recommend the new commands.

Mangus
New User
Posts: 3
Joined: Thu Oct 25, 2007 1:49 am

Thanks for the reply but....

Postby Mangus » Sat Oct 27, 2007 6:20 pm

Thanks for the replies, but i am still getting the same, stupid error message.

lawrie
leJOS Team Member
Posts: 949
Joined: Mon Feb 05, 2007 1:27 pm

Postby lawrie » Sat Oct 27, 2007 7:02 pm

Type:

PATH

and then

dir %NXJ_HOME%\bin

and then the command you are trying to run.

Cut and paste the results and post them to the forum, and we should be able to see what is wrong.

nat1
Novice
Posts: 79
Joined: Mon Sep 10, 2007 1:21 am
Location: n/a
Contact:

Postby nat1 » Sat Oct 27, 2007 8:15 pm

hi

Your probably geting the error beacuse you have your jdk in a directory with a space in the name.
Thanks!

Nat


Return to “NXJ Software”

Who is online

Users browsing this forum: No registered users and 0 guests