I just starting to learn Java, but i cant compile any of my .java files source codes in cmd, i get a error that says, Javac command is not found, i looked this up and found out how to slove the problem by setting a path varible, but it does not seem to be working for me.
I have a path varible set in the system and user varible, both with values "C:\Program Files\java\jre1.6.0_06\bin\". I have also tried compiling in the /bin folder, with source file in it with no luck. The command i am typing in cmd, is
javac nameofsourcefile.java
Hope someone can help me out, thanks.

