Java 缺少 tools.jar 文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20578592/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Missing tools.jar file
提问by RalphF
Yes, I read other posts here about the same thing. I made sure to install the JDK and not the JRE. I installed jdk-7u45-windows-x64 on my Win7 machine but there is no tools.jar file.
是的,我在这里阅读了关于同一件事的其他帖子。我确保安装的是 JDK 而不是 JRE。我在我的 Win7 机器上安装了 jdk-7u45-windows-x64 但没有 tools.jar 文件。
Is there some other Java SDK that I need to download and install?
是否还有其他一些 Java SDK 需要下载和安装?
I'm trying to run Ant.
我正在尝试运行 Ant。
采纳答案by Evgeniy Dorofeev
tools.jar is located in jdk_home/lib
tools.jar 位于 jdk_home/lib