Java 7 64 bit on windows 7: how to switch java versions

后端 未结 4 1768
悲哀的现实
悲哀的现实 2021-01-03 23:05

I need to switch from the installed java 7 at 64bit to the installed java 6 on my Windows 7 64bit OS but the usual procedure doesn\'t works. I tried to change the JAVA_HOME

4条回答
  •  爱一瞬间的悲伤
    2021-01-03 23:53

    Windows relies on PATH environment variable and not JAVA_HOME to lookup executables including the Java application launcher java.exe. While the JAVA_HOME environment variable may be used in the PATH environment variable, it need not be the case, so you must modify the PATH environment variable to use JAVA_HOME or the new Java 6 installation home.

提交回复
热议问题