当我尝试在谷歌应用程序服务器上的NetBeans中运行示例项目时,出现以下错误。服务器不启动。我如何解决这些错误,如果他们存在?我正在使用netbeans 7.1JAVA_HOME不指向JDK:无法启动谷歌应用程序引擎
BUILD FAILED
W:\UnderTest\NetbeansCurrent\Guestbook\nbproject\build-impl.xml:550: The following error occurred while executing this line:
W:\UnderTest\NetbeansCurrent\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 "C:\Program Files\Java\jre7"
只是重新命名您的jre目录一分钟,然后重试。 – Lucifer
您注意到它说JAVA_HOME指向Java运行时环境(JRE),而不是Java开发工具包(JDK)? –
>>> JAVA_HOME必须指向JDK主目录,而不是JRE –