JAVA_HOME points to the wrong place

前端 未结 3 687
失恋的感觉
失恋的感觉 2021-01-22 13:24

I seem to have an incorrectly specified JAVA_HOME variable. I can get around it for many things but now I am seem to be stuck. I am trying to use the Google App Engine and uploa

3条回答
  •  臣服心动
    2021-01-22 13:48

    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.

提交回复
热议问题