lejosjc "Unrecognized option -source

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

Moderators: 99jonathan, roger, imaqine

lejosjc "Unrecognized option -source

Postby Toaster » Mon Jun 25, 2007 3:48 am

Hello,
Seems to be an error in the latest lejosjc.bat build.
(downloaded 6/24/07 from http://sourceforge.net/project/showfile ... _id=497635)

File name: lejos_NXJ_win32_0_2_0alpha.zip

Problem:
When executed, the following error is generated:
"'javac' is not recognized as an internal or external command,
operable program or batch file."

The error seems to originate from the following line in lejosjc.bat:
javac -source 1.3 -target 1.1 -bootclasspath "%LEJOS_HOME%\lib\classes.jar;%CLASSPATH%" %1 %2 %3 %4 %5 %6 %7 %8 %9

I removed the 'c' from 'javac' and re-ran lejosjc.bat and got the following error:
"Could not create the Java virtual machine.
Unrecognized option: -source"

I know nothing about java so I don't know what this line in lejosjc should be :(

Anyone?

Thanks
Toaster
New User
 
Posts: 4
Joined: Sat Jun 23, 2007 5:14 pm

Answered my own question...

Postby Toaster » Mon Jun 25, 2007 3:55 am

I replaced "javac" with "lejosjc" in the lejosjc.bat file and it works fine now.
Toaster
New User
 
Posts: 4
Joined: Sat Jun 23, 2007 5:14 pm


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 1 guest

more stuff