Try to follow the instructions in the link I posted.
When you have installed JDK and updated your PATH try to
open a command prompt (DOS, xterm ect.) and type
"java" and "javac".
If you've set the path correct you wont get a message
a la "java is not a regocnized command or filename".
To compile a
Java file do the following:
1) create a file, e.g. Hello.java
2) open the file and start typing java code, e.g.
3) goto the directory that contains the file you created
4) type "javac <filename>", e.g. javac Hello.java
the file will then be compiled and a class file will be
generated which can be executed.
5) If the file compiled without errors type: "java File",
e.g. "java Hello" which should print "Hello World".
/Svend Rost