Saturday, June 5, 2010

How to install Eclipse on Linux. Eclipse Galileo on Linux

java should be installed before install the Eclipse. Just check
java -version

Follow these steps to install Eclipse Galileo on linux.

1. Download Eclipse for Linux from here.

Choose Eclipse IDE for Java EE Developers (190 MB) Linux 32 bit. You will get eclipse-jee-galileo-SR2-linux-gtk.tar.gz is being save.

2. Save this file in your favorite location. In my case /home/binod

3. Run this below command
[root@localhost binod]# tar -xzvf eclipse-jee-galileo-SR2-linux-gtk.tar.gz

It will create directory eclipse in /home/binod

4. cd eclipse
[root@localhost binod]# cd eclipse

5. and start eclipse

If everything fine then you will get eclipse window and you can start the work

If you are getting below error:

Warning: -XX:MaxPermSize=256m not understood. Ignoring.
Warning: -Xms40m not understood. Ignoring.
Warning: -Xmx512m not understood. Ignoring.
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError:
at (/usr/lib/
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/
at __gcj_personality_v0 (/home/binod/eclipse/java.version=1.4.2)
at __libc_start_main (/lib/tls/
at _Jv_RegisterClasses (/home/binod/eclipse/java.version=1.4.2)


check your JAVA_HOME using this below command
[root@localhost eclipse]# echo $JAVA_HOME

If you do not get result means your path does not set.
Then use this command to set JAVA_HOME path

[root@localhost eclipse]# export PATH=$PATH:/usr/java/jdk1.6.0_20/bin/
[root@localhost eclipse]# export JAVA_HOME=/usr/java/jdk1.6.0_20
In my case Java has been installed at /usr/java/jdk1.6.0_20

Now run this command to verify whether your path and JAVA_HOME is set proplery

echo $PATH

Now you can open eclipse using this below command
[root@localhost eclipse]# ./eclipse -vm /usr/java/jre1.6.0_20/bin

That's it .......... :)

Thanks ...... :)


  1. Is the last jre supposed to be jdk like the rest or are you purposely referencing the other kit?

  2. awesome!!!!!!!!!!!!!!!!

  3. is java jdk will install with eclipse ?

  4. i am geeting this error after startup of eclipse

    [root@mk eclipse]# ./eclipse
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x077a6f82, pid=30206, tid=3078551232
    # JRE version: 6.0_22-b22
    # Java VM: OpenJDK Client VM (20.0-b11 mixed mode linux-x86 )
    # Derivative: IcedTea6 1.10.5
    # Distribution: Fedora release 15 (Lovelock), package fedora-
    # Problematic frame:
    # C [] NS_InvokeByIndex_P+0x6126
    # An error report file with more information is saved as:
    # /home/spider/eclipse/hs_err_pid30206.log
    # If you would like to submit a bug report, please include
    # instructions how to reproduce the bug and visit:
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    Aborted (core dumped)

  5. the outlet water leakage: LED taps is because the axis washer inside the Shower Taps wear due. Use pliers to remove the gland bolts loosen, remove the pad to clamp the spindle axis washer can be replaced with Antique Basin Taps.