JAVA_HOME points to the wrong place

那年仲夏 提交于 2019-12-02 02:07:06

Looks like it's possibly a bug:

http://code.google.com/p/googleappengine/issues/detail?id=1226

There are lots of suggested workarounds/solutions, but comment #24 in the bug entry seems promising:

The problem is that GAE plugin for Eclipse is default configured with a JRE instead of a JDK.

To change this, do the following:

Preferences > Java > Installed JRE's > Add... For 'JRE Type' select 'Standard VM' > Next > Directory: select your JDK directory (instead of JRE) (in my case: C:\Program Files\Java\jdk1.6.0_16 ), press OK.

Now, you are back at 'Installed JRE's', select the JDK here also.

Double check for any typo in the JAVA_HOME path.

Or simply add "C:\Program Files\Java\jdk1.6.0_14\bin" to your %PATH%

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!