AppEngine SDK 1.8.7 failed to install in Eclipse 4

2019-09-02 09:37发布

I am trying to work with Google App Engine. I have Eclipse Juno on my MacBook (Mountain Lion), and I have upgraded my Java to 1.7.0_45. I tried following instructions as per Google on its Developers link to add the Google SDK to my Eclipse. When I open my preferences in Eclipse, it shows: Failed to initialize App Engine SDK 1.8.7

How do I resolve this issue? What is it that I am doing wrong or have missed doing??

I have tried to break my head on this and even tried to search for solutions but did not find any! Help!

2条回答
smile是对你的礼貌
2楼-- · 2019-09-02 10:15

Try uninstalling AppEngine SDK 1.8.7 from Eclipse. Here is a more detailed installation guide for the Google Plugin for Eclipse on the Juno (3.8/4.2) version. You need to select the Google Plugin for Eclipse and the SDK for AppEngine as a minimum. Currently you will get AppEngine SDK 1.8.9. Good luck!

If that fails try with a newer Eclipse (4.3 Kepler).

查看更多
We Are One
3楼-- · 2019-09-02 10:17

I had the same problem myself, and after installing Java 7 JDK from http://www.oracle.com/technetwork/java/javase/, I followed the steps bellow and the "Failed to initialize..." error disappeared:

  1. Under Eclipse / Preferences / Java / Installed JREs, click Add, select Mac OS X VM, then click Next.
  2. Enter "/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home" as the JRE home directory, as well as a JRE name, click Finish.
  3. Check the box next to the new JRE that you just added and then click OK.
  4. Under Eclipse / Preferences / Java / Compiler, select 1.7 from the "Compiler compliance level" drop-down list and click Ok.
查看更多
登录 后发表回答