Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unable to deploy after upgrading to 1.7.4

I upgraded today to GAE 1.7.4 and on trying to deploy I see following error:

Preparing to deploy:
    Created staging directory at: 'C:\Users\VSKUMA~1.ST-\AppData\Local\Temp\appcfg4811921061542689032.tmp'
    Scanning for jsp files.
    Compiling jsp files.
java.lang.RuntimeException: Cannot get the System Java Compiler. Please use a JDK, not a JRE.

I already have JDK pointing in the build path and this all was working fine till GAE 1.7.3

I cannot uninstall the existing GREs for some reasons.

like image 405
Vik Avatar asked Dec 15 '12 06:12

Vik


1 Answers

For me at least, forcing Eclipse to use a different vm itself worked. Add, for example:

-vm
C:\Program Files\Java\<jdk1.6.0_38>\bin\javaw.exe

to the first two lines* of the eclipse.ini file and restart Eclipse.

*Thanks to Andre

like image 185
Quotidian Avatar answered Nov 16 '22 01:11

Quotidian