jdk重装后com.sun.tools.javac.Main is not on the classpath的问题 .
2013-12-02 13:57
741 查看
在重装了JDk之后,在编译工程的时候出现如下错误:
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre1.5.0_04"
遇到这种情况时直接将C:/Program Files/Java/jdk1.5.0_11/lib中的tools.lib
拷贝到C:/Program Files/Java/jre1.5.0_11/lib中即可。
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre1.5.0_04"
遇到这种情况时直接将C:/Program Files/Java/jdk1.5.0_11/lib中的tools.lib
拷贝到C:/Program Files/Java/jre1.5.0_11/lib中即可。
相关文章推荐
- 问题: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.Perhaps JAVA_HOME does not point to the JDK
- 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 / Unable to find a javac compiler 的问题
- unable to find javac compiler;com.sun.tools.javac.Mainisnotontheclasspath的问题的解决
- 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的问题
- 解决com.sun.tools.javac.Main is not on the classpath的问题
- 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. Perhaps JAVA_HOME does not point to the JDK.
- 解决com.sun.tools.javac.Main is not on the classpath的问题
- 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
- 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 classpPerhaps JAVA_HOME does not point to the JDK
- 【cocos2dx】编译安卓平台遇到报错 com.sun.tools.javac.Main is not on the classpath
- Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.Perhaps JAVA_HOME
- 安装springboot时遇到 LoggerFactory is not a Logback LoggerContext but Logback is on the classpath.问题