How to set path for Jre 6 when jre 7 installed?

前端 未结 12 971
深忆病人
深忆病人 2021-01-18 00:19

I am programming through java 1.6 u_17, but i have JRE version 6 and JRE version 7 installed, so how to run my compiled program from JDK 1.6 to run through the JRE 6 only?<

12条回答
  •  旧巷少年郎
    2021-01-18 00:46

    I fix this problem by removing the java.exe in system32 folder. And then in the cmd the java command refer to the jdk set in the path enviroment variable.

提交回复
热议问题