com.sun.tools.javac.Main is not on the classpath.错误解决方法

来源:互联网 发布:vb caption 编辑:程序博客网 时间:2024/04/30 06:31
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.7“
 

将C:/Program Files/Java/jdk1.7/lib中的tools.lib拷贝到C:/Program Files/Java/jre1.7/lib中即可。

0 0