Java SDK 1.4.2

Farmer

Diamond Member
Dec 23, 2003
3,334
2
81
I have to finish a short java applet for school, but I can't get the compiler to work. First, I set the Path just like they directed me to. Doesn't seem to work. I try putting the file in the /bin directory, but when I compile, it states that the file cannot be found/read.

Don't know what's wrong. It seems to work fine at school (the compiler on the same code).

Anyone can give me simple, step by step instructions?
 

znaps

Senior member
Jan 15, 2004
414
0
0
1. Is Javac.exe in your path? If it isn't make make sure the bin directory of the JDK is in your PATH environment variable.

2. CD to the directory where you have your java source

3. type "javac <myjavasourcefile.java>


 

Farmer

Diamond Member
Dec 23, 2003
3,334
2
81
It works fine now, thanks. I mistyped my bin directory. Thanks again.