解决com.sun.tools.javac.Main is not on the classpath / Unable to find a javac compiler 的问题
来源:互联网 发布:阿里云服务器的主机名 编辑:程序博客网 时间:2024/04/25 07:20
用ant编译nutch时报错:
<span style="font-size:18px;"> Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to “/usr/lib/jvm/java-7-openjdk-amd64"</span>
我把jdk安装目录lib/tools.jar拷贝到上面那个报错的路径里,
<span style="font-size:18px;">sudo cp /usr/lib/jvm/java/lib/tools.jar /usr/lib/jvm/java-7-openjdk-amd64/jre/</span>
问题了解决~
0 0
- 解决com.sun.tools.javac.Main is not on the classpath / Unable to find a javac compiler 的问题
- Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.Perhaps JAVA_HOME
- 问题:Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.Perhaps JAVA_HOME does not point to the JDK
- Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK(转
- Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK(转
- Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.Perhaps JAVA_HOME does not point to the JDK
- 解决com.sun.tools.javac.Main is not on the classpath的问题
- ant 解决com.sun.tools.javac.Main is not on the classpath的问题
- ant 解决com.sun.tools.javac.Main is not on the classpath的问题
- 解决com.sun.tools.javac.Main is not on the classpath的问题
- ant报错: 解决com.sun.tools.javac.Main is not on the classpath的问题
- 解决com.sun.tools.javac.Main is not on the classpath的问题
- 解决com.sun.tools.javac.Main is not on the classpath的问题
- ant中com.sun.tools.javac.Main is not on the classpath问题的解决方案
- com.sun.tools.javac.Main is not on the classpath.Perhaps JAVA_HOME does not point to the JDK
- com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK.
- com.sun.tools.javac.Main is not on the classpath.错误解决方法
- 在Eclipse中 执行Ant Api 报错 Java: ant com.sun.tools.javac.Main is not on the classpath
- Emacs学习笔记
- 嵌入式Linux下MP4视频录制库MP4V2移植和简介
- 删除IDA最近打开的记录
- poj 1180 dp的斜率优化
- 深度优先搜索DFS( 递归+非递归)
- 解决com.sun.tools.javac.Main is not on the classpath / Unable to find a javac compiler 的问题
- 菜鸟开发—应具备的搜索技巧
- uva 10474 Where is the Marble?[ vector ]
- 《人工智能(智能系统指南,第二版)》读书笔记——9、第八章
- UVA10494
- iOS开发基本需要
- Java中访问内部类的一些思考
- 淘宝面试题:如何充分利用多核CPU,计算很大的List中所有整数的和
- 常用手机软件