【发布时间】:2012-05-28 08:07:24
【问题描述】:
这是我尝试通过 netbeans 运行基于 google app 引擎的应用程序时遇到的错误。但我已经设置了JAVA_HOME 变量:(见图)
BUILD FAILED
/home/non-admin/NetBeansProjects/Guestbook/nbproject/build-impl.xml:550: The following error occurred while executing this line:
/home/non-admin/NetBeansProjects/Guestbook/nbproject/build-impl.xml:300: 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.
It is currently set to "/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre"
那我为什么会收到错误消息?
【问题讨论】:
-
请拒绝投票的原因! :-||
标签: java linux google-app-engine java-home