JAVA_HOME does not point to the JDK

TOMCAT运行也正常,但就是无法编译执行。

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

网上找到的解决方案:只要把JAVA_HOME/lib/tools.jar拷到TOMCAT_HOME/common/lib下,重启动Tomcat,就可以了


原文链接: http://blog.csdn.net/vince6799/article/details/1906055

你可能感兴趣的:(JAVA_HOME does not point to the JDK)