Eclipse Kepler for Os X Mavericks Request Java Se 6

Eclipse Kepler for OS X Mavericks request Java SE 6

This is in part due to Oracle's missing definitions of the JRE8 VM capabilities.

In case you don't want to install JRE6 at all and simply use JRE8 without symlinking it to the JRE6 either you can do the following:

Copy the Info.plist located at the path named below to e.g. ~/Downloads/:

/Library/Java/JavaVirtualMachines/jdk.1.8.<…>/Contents/

and then replace

<key>JVMCapabilities</key>
<array>
<string>CommandLine</string>
</array>

with the following:

<key>JVMCapabilities</key>
<array>
<string>JNI</string>
<string>BundledApp</string>
<string>CommandLine</string>
</array>

Afterwards copy the file back to its original location (you need administrator rights). For this change to take effect you need to log out of your account (and back in) or restart your computer. The dialog for Java 6 should shouldn't appear anymore and Eclipse should launch just fine using JRE8 (or JRE7). The same holds true for any other application that initially asks for Java, e.g. Adobe's Creative Suite.

On a related note it appears that this plist change sticks even after updates done through the Java Preference Panel in the System Preferences.

If it still doesn't work. You might need to add some folders and a symlink (details):

sudo mkdir -p /Library/Java/JavaVirtualMachines/jdk1.8.0_*.jdk/Contents/Home/bundle/Libraries
sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.8.0_*.jdk/Contents/Home/jre/lib/server/libjvm.dylib /Library/Java/JavaVirtualMachines/jdk1.8.0_*.jdk/Contents/Home/bundle/Libraries/
sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
sudo mkdir -p /System/Library/Java/Support/Deploy.bundle

To open Eclipse you need to install the legacy Java SE 6 runtime

I ended up relenting and downloading Java 6 from here:

http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US

Apparently this seems to coexist ok with the latest Java version which I also installed (version 8 update 25) and version 8 shows up as the version I'm running when I verify from

https://www.java.com/en/download/installed.jsp

I'm unclear on the security implications of this though, would have preferred another solution, if anyone finds a better solution than installing 6 please let me know.

eclipse needs legacy Java SE 6

Java JDK 1.6 is not installed on your computer.

You probably installed Java JDK 1.7 or 1.8 before the Yosemite update.

If you don't want to install JRE6 at all and simply use JRE7 or JRE8 without symlinking it to the JRE6 either you can do the following solution as described by Nikolas Grottendieck here.

Eclipse not Launching in OS X Mavericks? (Not a single bounce or error message!)

There should be a popup asking you to install a Java SE 6 runtime.

It didn't appear for me either at first but that might have been because some other windows was covering it, so I saw it when I restarted the computer, and it appeared again when opening eclipse after the restart.

Hope this helps!

Mac OS-X Eclipse with Google App Engine setup: JDK version error when launching Eclipse

The initial impetus for this procedure came from @manouti (thank you!) but I've added all the steps needed for a newbie to integrate app engine with Eclipse on a Mac OSCX Mavericks. Here is the step by step solution:

  • Ensure that you have Java version 1.7 installed on your Mac OSX Mavericks:

download the JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html

Step by step instuctions to download and install JDK 1.7 are here: http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html

Edit in terminal vi ~/.bash_profile and add the following line:
export JAVA_HOME=/usr/libexec/java_home -v 1.7

Reboot your Mac.

  • Next ensure that you have Eclipse_kepler.

check version on mac. Current Mac Pros have the 64 bit version ….
(in terminal type: ‘uname -a’ if you see ‘RELEASE_X86_64 x86_64’ it means you have the 64 bit version)

Delete whatever versons of eclipse you have.
- delete everything that has org.eclipse in its name from folders ~/Library/Saved Application State, ~/Library/Preferences and ~/Library/Caches and then delete the eclipse folder (ensure that you copy your Workspaces folder to a safe place before you do this)

Update Eclipse to version Eclipse EE Kepler for Mac 64 bit by downloading from
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/SR2/eclipse-jee-kepler-SR2-macosx-cocoa-x86_64.tar.gz

When you start up Eclipse you will notice that the Java settings in Kepler are set to default 1.7

  • Download and install Google Pugin for Kepler (use instructions at
    https://developers.google.com/eclipse/docs/install-eclipse-4.3)

(Use the eclipse software update feature and type in URL:
http://dl.google.com/eclipse/plugin/4.3)
Just install Google Plugin for Eclipse.

  • Now you are all set to begin the tutorial Steps to Integrate XCode/iOS with Google
    App Engine

https://cloud.google.com/developers/articles/how-to-build-mobile-app-with-app-engine-backend-tutorial

Eclipse won't even try to open, possibly issue caused by JAVA_HOME reset

You can set path to jdk in eclipse.ini file as written here. http://wiki.eclipse.org/Eclipse.ini. Version for MacOs exists

edited. looks like a solution http://burrsutter.blogspot.ru/2013/12/eclipse-does-not-contain.html



Related Topics



Leave a reply



Submit