I've installed the sdk and everything, and when i try to compile my hello world program from sun (javac HelloWorldApp.java) it says

'JAVAC' is not recognized as an internal or external command, operable program or batch file.