Ant + Vista 64 : “Unable to locate tools.jar” (jre/jdk conflict?)

前端 未结 14 1484
别那么骄傲
别那么骄傲 2021-02-04 05:10

I\'m trying to use ant in a vista 64 environment to build some docbook/xml files.

However, I can\'t resolve this error message. Anybody have suggestions?

C:\\U

14条回答
  •  悲&欢浪女
    2021-02-04 05:29

    you may be using the java in the C:\Windows\system32 directory rather then the installed JDK. I set a JAVA_HOME environmental variable and put %JAVA_HOME%\bin at the start of my path and the problems when away.

提交回复
热议问题