We should easily be able to confirm this by trying to run "javac -version" from the command prompt, right? If the command prompt finds the right JDK, then eclipse should too, or is that not a good sanity check? Thanks.
James On Saturday, January 16, 2016 at 9:35:58 AM UTC+5:30, Adam (Cloud Platform Support) wrote: > > Make sure that your JAVA_HOME environment variable is set to "C:\Program > Files(x86)\Java\jdk1.7.0_79" and that your PATH contains "C:\Program > Files(x86)\Java\jdk1.7.0_79\bin" and doesn't point to the JRE, which can > happen if you let the JDK installer set your environment (if you select the > 'Public JRE' option). > > On Friday, January 15, 2016 at 9:43:28 PM UTC-5, Hung Ha wrote: >> >> I got this issue when deploying my Java app to App Engine >> >> Unable to update app: Cannot get the System Java Compiler. Please use a JDK, >> not a JRE. >> See the deployment console for more detailsUnable to update app: Cannot get >> the System Java Compiler. Please use a JDK, not a JRE. >> >> That is absurd because I set up jdk1.7 in Installed JREs as the following >> picture: >> >> [image: enter image description here] >> <http://i.stack.imgur.com/uCIi9.png> >> >> In the log file. Debugging information may be found in >> *C:\Users\AppData\Local\Temp\appengine-deploy3218365179732638698.log* >> >> Unable to update: >> java.lang.RuntimeException: Cannot get the System Java Compiler. Please use >> a JDK, not a JRE. >> at >> com.google.appengine.tools.admin.Application.compileJavaFiles(Application.java:904) >> at >> com.google.appengine.tools.admin.Application.compileJsps(Application.java:892) >> at >> com.google.appengine.tools.admin.Application.populateStagingDirectory(Application.java:687) >> at >> com.google.appengine.tools.admin.Application.createStagingDirectory(Application.java:629) >> at >> com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:569) >> at >> com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:58) >> at >> com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:433) >> at >> com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:158) >> at >> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) >> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) >> >> *What is wrong?* >> >> This is my eclipse.ini >> >> -startup >> plugins/org.eclipse.equinox.launcher_1 >> >> ... > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/2a23cbe3-c83a-47f9-884f-a04effb11348%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
