This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
They both look incorrect. But only you can tell because only you know where things are installed on your computer. Test it like this, at the command line:You have picked up the JDK correctly if the versions shown are correct.
Unless that is a local classpath, it is a mistake to set it at all, and you should not have set a system classpath. You should always set your classpath locally to your application, because you will need a different classpath for each app.
That path looks incorrect. Your JAVA_HOME variable should not end 1.6.0 but 1.6.0_22 or similar, if you installed Java in the usual location. Also the PATH should point to …\jdk\bin nor jre. The jre folder does not contain the javac tool.
Also you should maybe end your PATH variable with ;%PATH% to pick up all the other folders in your path.
We have an FAQ about first programs, which has a section about setting the path.