Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: First java project. Need help with compiler
|
Posted: Feb 26, 2002 10:39 PM
|
|
Specifically, add this line to your autoexec.bat:
set path=%path%;c:\jdk1.3.0_02\bin
You can also type that same line on the command line, to add it to your current session (so you don't have to reboot before you can use javac).
Additionally, there is the quick 'n' dirty full path specification route: instead of "javac HelloWorld.java" you use the full path to the javac program, like so: "c:\jdk1.3.0_02\bin\javac HelloWorld.java"
Finally, once you get javac working, you need to download the Jikes Java compiler (from http://oss.software.ibm.com/developerworks/opensource/jikes/) and start using that instead!
|
|