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
./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:
.home.binod.eclipse.plugins.org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/home/binod/eclipse/java.version=1.4.2)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/home/binod/eclipse/java.version=1.4.2)
SOLUTION here:
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
echo $JAVA_HOME
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 ...... :)
Subscribe to:
Post Comments (Atom)
Is the last jre supposed to be jdk like the rest or are you purposely referencing the other kit?
ReplyDeleteawesome!!!!!!!!!!!!!!!!
ReplyDeleteis java jdk will install with eclipse ?
ReplyDeletei am geeting this error after startup of eclipse
ReplyDelete[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-62.1.10.5.fc15-i386
# Problematic frame:
# C [libxul.so+0xd2df82] 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:
# http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)
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.
ReplyDelete