Then i started googling found many tutorials how to install eclipse kepler on ubuntu 12.04. i repeated the process according to those tutorials but nothing positive happened. i confirmed my java version 1.6.x was available by running java -version command in terminal. It was the version which was required by this release of eclipse. so what to do? Then one thing came into my mind may be error is due to the fact that i have 64 bit jdk and my eclipse release was 32 bit. But as of my knowledge Eclipse is developed in java and a 64bit jvm should support a class file compiled on a 32bit jvm.
So their should be some other reason. Then i tried to execute eclipse from terminal result was same but atlease it threw some useful information. This was the output when i tried to run eclipse from terminal
JVM terminated. Exit code=13
/usr/bin/java
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=256m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
--launcher.library /usr/lib/eclipse//plugins /org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.dist/eclipse_1407.so
-startup /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar
--launcher.overrideVmargs
-exitdata a8004
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=256m
One thing was meaningful regarding this output and that was jvm exit code 13. Then i searched for jvm exit code 13 couldnt get alot of details but found one thing that it is thrown when u try to run a 32 java application with some native code involved in it on 64bit jvm. i downloaded 64bit eclipse release and run it. It was success :). So it means eclipse is not pure java it uses some native code aswell.
View comments