Unable to find a javac compiler错误之解决办法
2005-04-13 09:51
435 查看
最近用tomcat 5.0.28调试jsp,已经设置好了JAVA_HOME、TOMCAT_HOME及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
费了我好几天时间,今天终于调好了。在tomcat设置中加入JAVA_HOME/lib/tools.jar就行了,如下图:
![](http://blog.codelphi.com/images/blog_codelphi_com/microdict/1571/o_tomcat5.0.28.GIF)
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
费了我好几天时间,今天终于调好了。在tomcat设置中加入JAVA_HOME/lib/tools.jar就行了,如下图:
相关文章推荐
- Unable to locate the Javac Compiler in 错误的解决办法之一
- eclipse ant错误:ant build.xml Unable to find a javac compiler解决
- Ant Unable to find a javac compiler Perhaps JAVA_HOME does not point to the JDK 解决办法
- Unable to locate the Javac Compiler 解决办法
- Unable to find a javac compiler;Perhaps JAVA_HOME does not point to the JDK异常产生原因和解决方法
- Unable to locate the Javac Compiler 解决办法
- Unable to find the wrapper "https"错误的解决办法
- unable to find javac compiler;com.sun.tools.javac.Mainisnotontheclasspath的问题的解决
- JSP页面运行时出现 Unable to find a javac compiler 原因和解决方法
- unable to find the wrapper "https"错误解决办法
- “Unable to find vcvarsall.bat”错误解决办法
- python安装第三方库,报“error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).”错误,解决办法
- Unable to find vcvarsall.bat的错误的解决办法
- Unable to find the wrapper "https"错误的解决办法
- 错误 Unable to find vcvarsall.bat 的终极无敌最完美的解决办法
- android编程中遇到的Unable to find explicit activity class错误的原因及解决办法
- Unable to find the wrapper "https"错误的解决办法
- Eclipse Ant组件出现unable to find a javac compiler的解决方法
- Unable to find a javac compiler;Perhaps JAVA_HOME does not point to the JDK解决
- 环境变量设置无误,但Tomcat仍报“Unable to find a javac compiler”错误的排除