当前位置: 技术问答>java相关
安装RESIN时遇到的问题,请帮忙,谢谢。
来源: 互联网 发布时间:2015-08-25
本文导语: 安装RESIN时提示如下错误: Resin can't load sun.tools.javac.Main. Usually this means that the JDK tools.jar is missing from the classpath, possibly because of using a JRE instead of the JDK. You can either add tools.jar to the classpath or...
安装RESIN时提示如下错误:
Resin can't load sun.tools.javac.Main. Usually this means that the JDK
tools.jar is missing from the classpath, possibly because of using a JRE
instead of the JDK. You can either add tools.jar to the classpath or change the compiler to an external one with or jikes.
java.lang.ClassNotFoundException: sun.tools.javac.Main
我是在WIN2000专业版下安装的,此前已经安装了JRE和JDK。
请帮我看看是什么问题,谢谢。
Resin can't load sun.tools.javac.Main. Usually this means that the JDK
tools.jar is missing from the classpath, possibly because of using a JRE
instead of the JDK. You can either add tools.jar to the classpath or change the compiler to an external one with or jikes.
java.lang.ClassNotFoundException: sun.tools.javac.Main
我是在WIN2000专业版下安装的,此前已经安装了JRE和JDK。
请帮我看看是什么问题,谢谢。
|
我的resin是在Red hat linux7.2下安装的,也出过这样的错,原因是必须在启动resin之前设置好 JAVA_HOME和CLASSPATH环境变量。
|
用resin那有那么复杂。
只要path指向java的bin目录就ok了。
resin唯一要的就是javac !!!
windaway还搞不定,在qq切磋吧 My QQ: 11300549
只要path指向java的bin目录就ok了。
resin唯一要的就是javac !!!
windaway还搞不定,在qq切磋吧 My QQ: 11300549