There was already java8 installed on my computer. Now I have installed java6 because there is a project I have to maintain which was written with java6. I already set the JAVA_HOME
to be C:\Program Files\Java\jre6. I restart the computer but when I launch on command line java -version then it is always 1.8.0_111. Then I changed the JAVA_HOME
to C:\Program Files\Java\jdk1.6.0_45 but still get 1.8.0_111 !
So how to make the version 6 to be considered ?