Unable to find a javac compiler;Perhaps JAVA_HOME does not point to the JDK解决
2008-08-01 14:02
651 查看
tomcat_home, java_home都已经添加到了环境变量里,但启动jsp的时候却出现了以下的异常
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,OK
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,OK
相关文章推荐
- Ant Unable to find a javac compiler Perhaps JAVA_HOME does not point to the JDK 解决办法
- Unable to find a javac compiler;Perhaps JAVA_HOME does not point to the JDK异常产生原因和解决方法。
- Unable to find a javac compiler;Perhaps JAVA_HOME does not point to the JDK异常产生原因和解决方法
- Unable to find a javac compiler;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(转
- 解决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
- ant 手动打包报错: com.sun.tools.javac.Main is not on the classpPerhaps JAVA_HOME does not point to the JDK
- Perhaps JAVA_HOME does not point to the JDK的解决方法
- 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.Perhaps JAVA_HOME does not point to the JDK
- android中,使用ant多渠道打包时出现Perhaps JAVA_HOME does not point to the JDK问题的解决方法
- Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jre7"
- Perhaps JAVA_HOME does not point to the JDK
- Perhaps JAVA_HOME does not point to the JDK
- JAVA_HOME does not point to the JDK 解决方法
- Eclipse中使用Ant打Android包报错解决方案 – Perhaps JAVA_HOME does not point to the JDK