eclipse - Error When Deploying Java Appp to App Engine? Can not get the System Java Compiler. Please use a JDK, not JRE? -


i got issue when deploying java app app engine

unable update app: cannot system java compiler. please use jdk, not jre.

see deployment console more details
unable update app: cannot system java compiler. please use jdk, not jre.

that absurd because set jdk1.7 in installed jres following picture:

enter image description here

in log file. debugging information may found in c:\users\appdata\local\temp\appengine-deploy3218365179732638698.log

    unable update: java.lang.runtimeexception: cannot system java compiler. please use jdk, not jre.     @ com.google.appengine.tools.admin.application.compilejavafiles(application.java:904)     @ com.google.appengine.tools.admin.application.compilejsps(application.java:892)     @ com.google.appengine.tools.admin.application.populatestagingdirectory(application.java:687)     @ com.google.appengine.tools.admin.application.createstagingdirectory(application.java:629)     @ com.google.appengine.tools.admin.appadminimpl.doupdate(appadminimpl.java:569)     @ com.google.appengine.tools.admin.appadminimpl.update(appadminimpl.java:58)     @ com.google.appengine.eclipse.core.proxy.appenginebridgeimpl.deploy(appenginebridgeimpl.java:433)     @ com.google.appengine.eclipse.core.deploy.deployprojectjob.runinworkspace(deployprojectjob.java:158)     @ org.eclipse.core.internal.resources.internalworkspacejob.run(internalworkspacejob.java:38)     @ org.eclipse.core.internal.jobs.worker.run(worker.java:53) 

what wrong?

this eclipse.ini

-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813 -product org.eclipse.epp.package.jee.product --launcher.defaultaction openfile --launcher.xxmaxpermsize 256m -showsplash org.eclipse.platform --launcher.xxmaxpermsize 256m --launcher.defaultaction openfile -vm c:\program files (x86)\java\jdk1.7.0_79\bin -vmargs -dosgi.requiredjavaversion=1.5 -dhelp.lucene.tokenizer=standard -xms40m -xmx512m 

your eclipse configured tooling looking system java compiler cannot find because not have java in path. include path jdk in path or set java_home environment variable


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -