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
来源:互联网 发布:win8网络打印机连不上 编辑:程序博客网 时间:2024/04/25 12:31
今天装了MyEclipse_5.5.1GA_E3.2.2_FullStackInstaller.exe,这个MyEclipse5.5是自带eclipse的,而且还自带了个名为MyEclipse 5.5.1 GA的JRE:
安装完成,建了个webproject,写了个简单jsp来测试,结果出现如下错误:
于是把jdk的lib目录下的tools.jar拷到tomcat的common目录下,重启tomcat,问题依旧。
然后添加了一个JRE,并设置tomcat的jdk为此jre如图:
再使用Server View来重启tomcat,问题解决。
奇怪的是我再把tomcat的jdk改回为MyEclipse 5.5.1 GA,并没有出错。
安装完成,建了个webproject,写了个简单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
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
于是把jdk的lib目录下的tools.jar拷到tomcat的common目录下,重启tomcat,问题依旧。
然后添加了一个JRE,并设置tomcat的jdk为此jre如图:
再使用Server View来重启tomcat,问题解决。
奇怪的是我再把tomcat的jdk改回为MyEclipse 5.5.1 GA,并没有出错。
- 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
- 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
- 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 的问题
- 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解决
- 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异常产生原因和解决方法。
- eclipse3.1.2 +tomcat5.0 配置问题: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异常产生原因和解决方法
- ant 手动打包报错: com.sun.tools.javac.Main is not on the classpPerhaps JAVA_HOME does not point to the JDK
- 解决com.sun.tools.javac.Main is not on the classpath的问题
- ant 解决com.sun.tools.javac.Main is not on the classpath的问题
- ant 解决com.sun.tools.javac.Main is not on the classpath的问题
- 钩子
- tomboy的bug
- ASP.NET2.0中插入、删除、查询、修改记录这么多方法,究竟哪种最通用,最常用?
- Div+css+js实现高度适应浏览器,做出的效果像winform
- 垂直搜索引擎技术
- 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
- Asp.Net cookies 通用类
- SQL Server导入excel数据之Bug!
- 记 8月25日
- CMD下快速进入任意目录
- jsp 自动下载某个文件
- [转]swt 全屏
- 关注竞价排名
- 最近在调整网卡速度,有几篇文章不错,特转贴至此。