To open "Eclipse.app", you need a Java SE 6 runtime.
I get the following message from Eclipse:
To open “Eclipse.app”, you need a Java SE 6 runtime.Would you like to install one now?
This happens after upgrading my MacBook to OS X Mavericks with an Eclipse installation that used to work before with a Java 7 installation which is still present.
What is going on?
Asked by Eelco Visser on 8 November 2013 at 14:08
4 Answers
This is Mavericks upgrade smartness. The upgrade to Mavericks disables Java 7 and uninstalls all versions of Java that were installed by the previous version of OS X.
To start Eclipse and use Java 7 you need to (1) accept and install Java 6 through the pop-up and (2) follow the Oracle Java 7 installation procedure and (3) make Java 7 default.
Answered by Vlad Vergu on 8 November 2013 at 14:27
It worked for me just by accepting the install of Java 6. My existing Java 7 installation seems to then be used.
Answered by Eelco Visser on 8 November 2013 at 15:44
Strange, but good. If you now run
Answered by Vlad Vergu on 8 November 2013 at 15:47java -version
do you get Java 6 or 7?
I get Java 7, and I already got that when Eclipse complained about needing to install Java 6.
Answered by Eelco Visser on 8 November 2013 at 21:57