Should JAVA_HOME point to JDK or JRE?

前端 未结 8 2093
隐瞒了意图╮
隐瞒了意图╮ 2020-12-03 00:09

I pointed the JAVA_HOME to C:\\Program Files (x86)\\Java\\jre7. It works fine. Afterwards, I unzipped ant and set up the environment variables rela

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-03 01:05

    My JAVA_HOME points to the JDK. If it still doesn't work, check if you downloaded ant for Java 7 and not for Java 6.

提交回复
热议问题