gpt4 book ai didi

JAVA_HOME 没有指向 JDK : Unable to start google app engine

转载 作者:搜寻专家 更新时间:2023-11-01 02:30:25 24 4
gpt4 key购买 nike

当我尝试在谷歌应用服务器上的 netbeans 中运行示例项目时,出现以下错误。服务器不启动。如果存在这些错误,我该如何解决?我正在使用 netbeans 7.1

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"

最佳答案

安装jdk并将环境变量中的JAVA_HOME设置为你安装jdk的路径。目前指向jre。

关于JAVA_HOME 没有指向 JDK : Unable to start google app engine,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10780283/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com