Armen
Armen

Reputation: 1

appengine-java-sdk-1.8.8 fails to initialize

I get the following error

 The selected App Engine SDK is not valid: Failed to initialize App Engine SDK at /Users/<snip>/Desktop/Development/adt-bundle-mac-x86_64-20131030/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.8.8/appengine-java-sdk-1.8.8/

I followed the instructions in the book Programming Google Glass The Mirror API   by Eric Redmond Eric Redmond. Programming Google Glass, P1.0 (Kindle Locations 2-3). The Pragmatic Bookshelf, LLC.

I then walked through the instruction on the google site the correspond to the same setup.

I am able to create the initial Android hello world app (for a nexus) but not able to create an app engine web app example because of the above error. I've checked my path variables as best as I can tell and everything seems to be ok. Any advice?

Upvotes: 0

Views: 1916

Answers (1)

Romin
Romin

Reputation: 8816

There are a few things that you will need to check:

  • The latest version of App Engine SDK and Eclipse Plugin work with Java 7 only. So if you have an older version of Java , you will need to remove that and put Java 7.
  • Ensure that your Eclipse JRE settings is pointing to Java 7 SDK.
  • If the above does not address it still, you will need to modify the eclipse.ini file and point the VM to the JDK 7 SDK.

Upvotes: 8

Related Questions