• Skip to main content
  • Skip to primary sidebar

Ravi Shankar

Tweaking Apps

  • Swift
  • Tech Tips
You are here: Home / Programming / Java version 1.7 required to Google Plugin on Eclipse

Java version 1.7 required to Google Plugin on Eclipse

March 22, 2014 By Ravi Shankar 3 Comments

This is not related with iOS development but I have deployed the backend service for my iOS app on Google App Engine. This is about the steps for resolving the “JRE version is 1.6.0 1.7.0 or later is needed to run Google Plugin for Eclipse”.

201403191857.jpg

1. Download the latest JDK from oracle website – http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html.

2. For some reason the JDK installation folder on Mac was still referring to Java 1.6 and had to install this fix to get 1.7 folder – http://support.apple.com/kb/dl1572

201403191904.jpg

3. Then install the latest Google App Engine eclipse plugin using the Check for Updates on Eclipse.

4. I am not 100% sure whether app engine SDK needs to be installed on Mac even after installing eclipse plugin but I went with this step. Download latest app engine SDK for mac https://developers.google.com/appengine/downloads#Download_the_Google_App_Engine_SDK

5. The most important step of all is to edit eclipse.ini file and add -vm param with jdk 1.7 (marked in bold). Make sure this entry is the first vm entry in eclipse.ini file.

-startup

../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar

–launcher.library

../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.101.v20120109-1504

-product

org.eclipse.epp.package.jee.product

–launcher.defaultAction

openFile

-showsplash

org.eclipse.platform

–launcher.XXMaxPermSize

256m

–launcher.defaultAction

openFile

-vm

/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/lib/server/libjvm.dylib

-vmargs

-Dosgi.requiredJavaVersion=1.5

-XstartOnFirstThread

-Dorg.eclipse.swt.internal.carbon.smallFonts

-XX:MaxPermSize=256m

-Xms40m

-Xmx512m

-Xdock:icon=../Resources/Eclipse.icns

-XstartOnFirstThread

-Dorg.eclipse.swt.internal.carbon.smallFonts

Filed Under: Programming Tagged With: Google App Engine, JRE

Reader Interactions

Comments

  1. claud says

    October 10, 2014 at 12:17 am

    hi , i stiil have the error above and I’m unable to create a project

    i have airbook os x 10.9.5

    please help

    Reply
  2. Jose Iraheta says

    May 2, 2015 at 9:21 pm

    Excellent advice. Was missing the vm parameters.

    Thanks for your post.

    Reply
  3. Jose Iraheta says

    May 2, 2015 at 9:25 pm

    @claud if you are unable to create a project because you don’t see it in the Eclipse its because you are missing Java 7 you can follow this post that I think should be able to help you. Also, once you sintall java 7 make sure you add GAE from the Eclipse marketplace.

    http://stackoverflow.com/questions/15688142/installed-eclipse-gwt-plugin-but-no-web-application-project/30007174?noredirect=1#comment48133158_30007174

    hope that helps.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

TwitterLinkedin

Recent Posts

  • How to block keywords in Jio broadband
  • How to disable opening an app automatically at login in Mac
  • How to set preferred Wifi network on Mac
  • Attribute Unavailable: Estimated section warning before iOS 11.0
  • How to recover Firefox password from Time Machine backup

Pages

  • About
  • Privacy Policy
  • Terms and Conditions

Copyright 2022 © rshankar.com

Terms and Conditions - Privacy Policy