Eclipse, AppEngine: java.lang.RuntimeException: Cannot get the System Java Compiler. Please use a JDK, not a JRE

前端 未结 4 2013
悲&欢浪女
悲&欢浪女 2021-02-13 23:59

I\'m getting this error when trying to deploy to Google AppEngine. I DO have JDK selected!

------------ Deploying frontend ------------

Preparing to deploy:
            


        
4条回答
  •  梦如初夏
    2021-02-14 00:36

    Go to Eclipse folder where you have eclipse installed (say c:\eclipse). You will find eclipse.ini file which eclipse uses to while starting. Add the following line -vm C:\Program Files\Java\jdk1.7.0_25\bin\javaw.exe

    change the above java path with your location of JDK. It should be able to use this JDK and will compile and deploy to app engine.

提交回复
热议问题