I should also mention for completeness that you will need to restart 
Eclipse after making these changes.

On Friday, January 15, 2016 at 11:05:58 PM UTC-5, 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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/24872db5-9877-40dc-96dc-a07785600e5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to