Should JAVA_HOME point to JDK or JRE?

前端 未结 8 2094
隐瞒了意图╮
隐瞒了意图╮ 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条回答
  •  甜味超标
    2020-12-03 00:53

    Generally, it does not matter if you point it at JRE or JDK. It depends on the application which uses it. Ant documentation says you should point it at JDK to get all Ant's features.

提交回复
热议问题