2013年1月4日金曜日

[google app engine] Cannot get the System Java Compiler. Please use a JDK, not a JRE. I have set the build path to JDK


eclipseでdeploy時に
「Cannot get the System Java Compiler. Please use a JDK, not a JRE. I have set the build path to JDK」のエラー
eclipse.iniでVMを強制的にjdk指定すると解決


I have the above-captioned when deploying google app engine code.
It's because of using JRE.
To solve this, edit "eclipse.ini" as below

[example]
eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-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\Java\jdk1.6.0_38\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m



0 件のコメント:

コメントを投稿