简体   繁体   中英

Issue installing GAE plugin to work with Eclipse

I'm trying to make a Google App Engine App, but whenever I try to run the app, I get the following message:

Errors occurred during the build. Errors running builder 'Google App Engine Project Validator' on project 'ScalaWagsGameServer'. Unable to locate the JVM for project ScalaWagsGameServer. Please verify that you have a project-level JVM installed by inspecting your project's build path. Unable to locate the JVM for project ScalaWagsGameServer. Please verify that you have a project-level JVM installed by inspecting your project's build path.

I've tried installing a new JDK and JRE, but nothing has changed anything. I've been trying to set the %JAVA_HOME% environment variable as well, which is what I saw should be done on other Stack Overflow questions, but everything I change it to is said to be undefined.

Try out the following:

  • Assuming that you have installed the JDK on your machine. Ensure that from the terminal or command prompt, you can access your JDK (javac, etc). Ensure the correct environment variables are setup.

  • Inside of Eclipse, go to Preferences->Java->Installed JREs and validate if you have linked to the correct JDK or not. Most likely the list is empty here or its not linked to your installed JDK.

问题是该项目在错误的目录中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM