0

I am using os x 10.9.1 I need to install google plugin for eclipse for using google web toolkit. I have eclipse juno, so I just follow link for install it. But it not work for me, not go ahead because below issue enter image description here

So, I move to install latest version of eclipse kepler and follow link for install plugins. After all installation finished with some different issues and restart eclipse kepler it shows me java version error. enter image description here

And same thing show me when I check through terminal enter image description here

but when I check in my java preference, it show me latest version installed on my mac. enter image description here

*********************Edited from here*********************

After downloading java 7 and installing it(as per one of comment in link),again check in terminal give me new version

enter image description here

I restart my eclipse and starting error is not there. Just go ahead and create GWT project, and now enter image description here

Stuck again...!?!

Community
  • 1
  • 1
Manish Jain
  • 842
  • 1
  • 11
  • 29
  • im not expert on mac, but is it posiible you have installed two versions of java on your machine? check property JAVA_HOME and check is it pointing to java6 or java7 – user902383 Feb 21 '14 at 11:16
  • Take a look here: http://stackoverflow.com/questions/12757558/installed-java-7-on-mac-os-x-but-terminal-is-still-using-version-6 – El Hoss Feb 21 '14 at 11:29
  • Please find Edited from here at end of question, for some edits – Manish Jain Feb 21 '14 at 12:57

1 Answers1

0

Open eclipse.ini form your eclipse folder and set the following parameter as shown in image

-vm
//your java7-dir/bin/javaw.exe (use mac javaw in your case)  

enter image description here

Sumit Singh
  • 15,743
  • 6
  • 59
  • 89
  • Hello sumit, I tried what you said as per mac os. But not work for me still having "App engine requires Java 1.7 or later" error in eclipse. – Manish Jain Feb 22 '14 at 06:06