Last day i was configuring a ubuntu system as my work machine. First of all i tried to install eclipse an IDE most basic requirement for a developer's machine. in ubuntu 12.04 by default Eclipse Indigo is available but i wanted Eclipse Kepler.i downloaded eclipse from their site extracted it in some folder and tried to run it by double clicking eclipse in its folder nothing happend. It was my first encounter to ubuntu so i thought may be i have extracted it in wrong folder so i moved it into opt then tried to run it again but result was same?

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.



1

View comments

Blog Archive
About Me
About Me
Loading