Setting Java to 1.6 after installing 1.7

I have JDK 1.6 installed on my machine. Then I installed JDK 1.7 and I ran the command "java -vesion" to check which version that my machine points to. The result was 1.7 version. I checked my PATH environment variable and it was pointing to the 1.6 version!
The problem was in the java.exe in under C:\Windows\System32. It was pointing to the 1.7. After deleting it, my machine default one is 1.6.

Comments

Popular posts from this blog

PrimeFaces Push with Atmosphere

Adding MyBatis mapper files dynamically

Creating JSF/CDI Maven project on Eclipse