I\'m trying to get the new 1.7 JDK working with Eclipse (this is Oracle\'s official release).
I don\'t mean just pointing Eclipse to it so you can use it in projects
For me it worked fix proposed in https://bugs.eclipse.org/bugs/show_bug.cgi?id=411361#c25 :
#!/bin/bash
# Workaround for https://bugs.eclipse.org/411361
# "[Mac] Kepler doesn't launch without JRE 6, even if JDK 7 is installed"
#
# Put this launch.command into the same folder as Eclipse.app.
#
# If necessary, adapt JAVA_EXECUTABLE to the full path to your Java executable:
JAVA_EXECUTABLE=java
cd "$(dirname "$0")"
$JAVA_EXECUTABLE \
-Djava.library.path="$(echo plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_*/eclipse_*.so)" \
-Xms512m \
-Xmx2048m \
-Xdock:icon=Eclipse.app/Contents/Resources/Eclipse.icns \
-XstartOnFirstThread \
-Dorg.eclipse.swt.internal.carbon.smallFonts \
-XX:MaxPermSize=256m \
-jar "$(echo plugins/org.eclipse.equinox.launcher_*.jar)" \
-os macosx \
-ws cocoa \
-arch x86_64 \
-showsplash \
-name Eclipse \
--launcher.appendVmargs \
-debug \
-showlocation \
-consolelog
simple solution. on another thread on here. download Java from apple.com instead of Oracle. It completely fixed the problem, and now opens with a double click, no terminal or programming required.
I just had this problem. I fixed it by downgrading and downloading JDK 7.