How to set JAVA_HOME for multiple Tomcat instances?

前端 未结 11 1068
情话喂你
情话喂你 2020-12-14 06:29

I have 2 Java Web Projects. One runs on JDK 1.5 and the other runs on JDK 1.6. I want to run both of them on the same computer, but the JAVA_HOME environment variable can on

11条回答
  •  猫巷女王i
    2020-12-14 06:47

    Also, note that there shouldn't be any space after =:

    set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_27
    

提交回复
热议问题