Unable to locate tools.jar. Expected to find it in C:/Program Files/Java/jre
2013-04-30 21:40
369 查看
Unable to locate tools.jar. Expected to find it in C:/Program Files/Java/jre
命令行敲ant命令后提示:“Unable to locate tools.jar. Expected to find it in C:/Program Files/Java/jre6/li”;ANT_HOME环境变量已经配置;
解决途径:将“C:/Program Files/Java/jdk1.6.0_16/lib”目录下的tools.jar文件拷贝到“C:/Program Files/Java/jre6/lib”目录下,重新运行命令ant,运行正常,问题解决。
命令行敲ant命令后提示:“Unable to locate tools.jar. Expected to find it in C:/Program Files/Java/jre6/li”;ANT_HOME环境变量已经配置;
解决途径:将“C:/Program Files/Java/jdk1.6.0_16/lib”目录下的tools.jar文件拷贝到“C:/Program Files/Java/jre6/lib”目录下,重新运行命令ant,运行正常,问题解决。
相关文章推荐
- Unable to locate tools.jar. Expected to find it in C:/Program Files/Java/jre
- Unable to locate tools.jar. Expected to find it in C:/Program Files/Java/jre
- Unable to locate tools.jar. Expected to find it in C:/Program Files/Java/jre
- Unable to locate tools.jar. Expected to find it in C:/Program Files/Java/jre
- Ant- Unable to locate tools.jar. Expected to find it in C:/Program Files/Java/jre
- Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.5.0-gcj-4.5/lib/tools.jar 求解
- Ubuntu 14.04 & ant: Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-7-openjdk-i386/lib/tools.jar
- Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar
- Unable to locate the Javac Compiler in:C:/Program Files/Java/jre1.5.0_22/../lib/tools.jar
- Unable to locate tools.jar. Expected to find it in........
- ant生成文件报错:Unable to locate tools.jar. Expected to find it in ...
- ant生成文件报错:Unable to locate tools.jar. Expected to find it in ...
- Unable to locate tools.jar. Expected to find it in D:/jre6/lib/tools.jar问题解决
- maven 报Unable to locate the Javac Compiler in: D:\Program Files\Java\jdk1.6.0_20\..\lib\tools.jar
- Unable to locate tools.jar. Expected to find it in D:/jre6/lib/tools.jar问题解决
- Maven报错: Unable to locate the Javac Compiler in: D:\Program\java\jre1.7.0_45\..\lib\tools.jar
- Eclipse通过Maven构建时出现: Fatal error compiling: tools.jar not found: Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre1.8.0_31\..\lib\tools.jar
- ant配置 及运行java时报 Unable to locate tools.jar 错误
- 'tools.jar' is not in IDEA classpath. Please ensure JAVA_HOME points to JDK rather than JRE.