Compiling Problem with NXJ - Missing JDK [RESOLVED]

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

Moderators: 99jonathan, roger, imaqine

Compiling Problem with NXJ - Missing JDK [RESOLVED]

Postby monkey525467 » Mon Jul 23, 2007 12:20 am

Well, I thought everything was going well, I had the firmware installed, I uploaded HelloWorld.nxj but when I typed
nxjc R2MeToo
I got the following error:
'javac' is not recognized as an internal or external command,
operable program or batch file.


Everything else works fine except 'nxjc', something weird is going on.
Last edited by monkey525467 on Wed Dec 09, 2009 12:07 am, edited 1 time in total.
User avatar
monkey525467
New User
 
Posts: 21
Joined: Sun Jul 08, 2007 2:18 am

Postby 99jonathan » Mon Jul 23, 2007 2:41 am

Have you properly set your JAVA_HOME classpath?
99jonathan
Moderator
 
Posts: 122
Joined: Thu Mar 01, 2007 5:30 am

Postby monkey525467 » Mon Jul 23, 2007 6:44 pm

Yes, I have. It is set to C:\Program Files\Java\jre1.5.0_06
I also have the bin set correctly in the Path variable.

I am using Windows XP Sp2

I hope that will help.
Last edited by monkey525467 on Wed Dec 09, 2009 12:06 am, edited 1 time in total.
User avatar
monkey525467
New User
 
Posts: 21
Joined: Sun Jul 08, 2007 2:18 am

Postby 99jonathan » Mon Jul 23, 2007 7:18 pm

Someone correct me if i'm wrong here, but the jre doesn't have javac. For that you need the jdk.
99jonathan
Moderator
 
Posts: 122
Joined: Thu Mar 01, 2007 5:30 am

Postby monkey525467 » Mon Jul 23, 2007 7:34 pm

Let me guess, I have to download it, where can I get?
Last edited by monkey525467 on Wed Dec 09, 2009 12:07 am, edited 1 time in total.
User avatar
monkey525467
New User
 
Posts: 21
Joined: Sun Jul 08, 2007 2:18 am

Postby bbagnall » Tue Jul 24, 2007 3:34 am

That's correct, you need the JDK. Right here, top of the list:
http://java.sun.com/javase/downloads/index.jsp
User avatar
bbagnall
Site Admin
 
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm

Postby monkey525467 » Tue Jul 24, 2007 1:09 pm

Thanks! I'll download it and tell you if it worked!
Last edited by monkey525467 on Wed Dec 09, 2009 12:07 am, edited 1 time in total.
User avatar
monkey525467
New User
 
Posts: 21
Joined: Sun Jul 08, 2007 2:18 am

Postby monkey525467 » Thu Jul 26, 2007 6:16 pm

Well, after three hours of downloading (I only have dial-up) it worked!

Thanks!
Last edited by monkey525467 on Wed Dec 09, 2009 12:07 am, edited 1 time in total.
User avatar
monkey525467
New User
 
Posts: 21
Joined: Sun Jul 08, 2007 2:18 am

Postby 99jonathan » Thu Jul 26, 2007 8:21 pm

np, anytime! :wink:
99jonathan
Moderator
 
Posts: 122
Joined: Thu Mar 01, 2007 5:30 am


Return to NXJ Software

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest

cron
more stuff