Problem compiling from command line
I am having problems compiling HelloWorld.java.
I have added C:\Program Files (x86)\Java\jdk1.6.0_24\bin to my Path, but I still get the error: "'javac' is not recognized as an internal or external command, operable program or batch file" when I type "javac HelloWorld.java" from C:\Users\Steve\Desktop\Java (where HelloWorld.java is saved).
I then tried it this way:
C:> "C:\Program Files (x86)\Java\jdk1.6.0_24\bin\javac" HelloWorld.java and it says "Access is denied".
I can't figure out why it just refuses to work, can anyone help me out?