找不到 Tools.jar [英] Cannot find Tools.jar
本文介绍了找不到 Tools.jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试构建 JOGL 的副本
I am trying to build a copy of JOGL
但是蚂蚁一直给我错误找不到tools.jar.
but ant keeps giving me the error cannot find tools.jar.
所以我在我的 JDK 目录中搜索,我也找不到它.有人可以帮我定位 tools.jar
so i searched within my JDK dir and i also cannot find it. can someone help me with locating tools.jar
推荐答案
您确定要搜索的是 JDK 目录而不是 JRE 目录吗?我希望它位于 JDK lib
目录中.例如,在我的机器上,我有:
Are you sure you're searching your JDK directory instead of the JRE directory? I'd expect it to be in the JDK lib
directory. For example, on my machine I have:
c:\Program Files\Java\jdk1.6.0_26\lib\tools.jar
如果 Ant 找不到它,请确保您运行的是 JDK 目录中的 Java 版本,而不是 JRE 目录中的版本.
If Ant can't find it, make sure you're running the version of Java in the JDK directory rather than the one in the JRE directory.
这篇关于找不到 Tools.jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文