java.exe always point to the path of JRE but not JDK

前端 未结 5 1510
臣服心动
臣服心动 2021-01-02 11:33

I have both jdk and jre installed on my windows 7.

I have set the JAVA_HOME to

C:\\Program Files\\Java\\jdk1.6.0_23

I have add

5条回答
  •  难免孤独
    2021-01-02 12:10

    If you have a 64bit operating system, it will try to use the 64bit jre that is preinstalled on windows 7. You can try using add/remove programs to remove the 64bit jre. I've had this problem several times and I've always fixed it by removing the 64bit jre.

提交回复
热议问题