Ubuntu – Can’t start Eclipse Juno (Ubuntu 12.10)

12.10eclipse

I installed eclipse though the ubuntu software center but I experienced some issues and I wanted to install the official eclipse version.

I downloaded eclipse classic 4.2.1 from here:

Extracted it, but if I double click "eclipse" it doesn't do anything.

Any ideas how I can fix this?

my eclipse.ini looks like this

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar 
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813
-showsplash
-vm /usr/lib/jvm/java-7-oracle/bin/java
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/usr/lib/jvm/java-7-oracle/bin/java
-vmargs
-Xms40m
-Xmx512m

I also deinstalled openJDK and installed jdk7.

Best Answer

Specify the jvm in eclipse.ini file.

-vm
/path/to/jdk/bin/java