Did You Know?
Got a tip? Let us know

HostGator Diwali Mega Offer 50% Flat Discount on all Hosting Plans - Grab it Now

Install Eclipse Classic 4.2.1 in RHEL/CentOS 6.3/5.6, Fedora 17-12

Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators
CW

Eclipse is an open source and free multi-language and multi-platform software development program that used to build JAVA based web applications. It is written in Java program and can be used to develop Java based applications and other various plugins, including languages like C, C++, PHP, Perl, Python, Ruby and Rails framework.

Install Eclipse SDK Juno

Install Eclipse 4.2.1 in RHEL / CentOS / Fedora

It provides common UI (User Interface) navigation model for working with tools and it was developed to run on multiple OS (Operating Systems) by providing robust integration with each OS. Eclipse was one of the first IDE’s (Integrated Development Environment) program to run under GNU operating system.

This guide shows you how to install latest version of Eclipse Classic 4.2.1 on RHEL 6.3/6.2/6.1/6/5.8/5.6, CentOS 6.3/6.2/6.1/6/5.8/5.6 and Fedora 17,16,15,14,13,12 using Eclipse source files.

Install Eclipse Classic 4.2.1 in RHEL, CentOS and Fedora

Install Java SDK 6

First, you need to install Java SDK 6 package using the following YUM command.

# yum install java

Download Eclipse Classic 4.2.1

Download Eclipse Classic 4.2.1 for system OS bit, by choosing following link with Wget command or you can also download it from http://www.eclipse.org/downloads/?osType=linux.

For RHEL/CentOS/Fedora 32-bit OS
# wget http://ftp.jaist.ac.jp/pub/eclipse/eclipse/downloads/drops4/R-4.2.1-201209141800/eclipse-SDK-4.2.1-linux-gtk.tar.gz
For RHEL/CentOS/Fedora 64-bit OS
# wget http://ftp.jaist.ac.jp/pub/eclipse/eclipse/downloads/drops4/R-4.2.1-201209141800/eclipse-SDK-4.2.1-linux-gtk-x86_64.tar.gz

Extracting Eclipse Classic 4.2.1

Unpack it under /opt directory with the help of Tar command with -C switch. For more examples of tar command visit THIS PAGE.

## For 32-Bit OS ##
# tar -xvzf eclipse-SDK-4.2.1-linux-gtk.tar.gz -C /opt

## For 64-Bit OS ##
# tar -xvzf eclipse-SDK-4.2.1-linux-gtk-x86_64.tar.gz -C /opt

Setting Execute Permissions to Eclipse files

Set executable permission on all files under eclipse directory.

# chmod -R +r /opt/eclipse

Creating Eclipse executable Binary file

Create eclipse executable binary file and set permission to it as shown below.

# touch /usr/bin/eclipse
# chmod 755 /usr/bin/eclipse

Create the following file with VI editor.

# vi /usr/bin/eclipse

Add the following lines to it save and close the file.

export ECLIPSE_HOME="/opt/eclipse"

$ECLIPSE_HOME/eclipse $*

Creating GNOME Desktop Launcher

Create the GNOME desktop launcher file for eclipse with VI editor.

# vi /usr/share/applications/eclipse.desktop

Add the following lines of code it, save and close the file.

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse SDK 4.2.1
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true

Starting Eclipse Launcher

From Desktop terminal run the following command to launch Eclipse.

# eclipse

Eclipse Screenshots

Check out running Eclipse screenshots under my CentOS 6.3 system.

Eclipse Startup Screen
Start Eclipse SDK

Eclipse Startup Screen

Eclipse Create WorkPlace
Eclipse Create WorkPlace

Eclipse Create WorkPlace Screen

Eclipse Welcome Screen
Eclipse Welcome

Eclipse Welcome Screen

Ravi Saive

Owner at TecMint.com
Simple Word a Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux.

Linux Services & Free WordPress Setup

Our post is simply ‘DIY’ aka ‘Do It Yourself, still you may find difficulties and want us to help you out. We offer wide range of Linux and Web Hosting Solutions at fair minimum rates. Please submit your orders by Clicking Here.

11 Responses

  1. Akhilesh says:

    Eclipse install fines on centos 6.3, However display is broken, icons are misplaced

  2. Ashish says:

    hey really thank you very much foe this stuff..:):):):)

  3. Bob says:

    That was awesome! Thanks!

  4. hoy says:

    very nice, thanks alot

  5. Matthew Pintor says:

    cannot run/execute binary file. how to fix this?

  6. Nelson Hernández says:

    Need help, when I start eclispe displays this message “Error during initialization of VM
    Could not reserve enough space for object heap “… help me are my first steps … I’m running the Linux operating system in a virtual machine might be that the problem?

  7. chandra says:

    This was very helpful. Thanks for the post. It worked perfect.

  8. Lina says:

    I got these lines. Dont know what to do… Please help

    /usr/bin/eclipse: line 1: [Desktop: command not found
    /usr/bin/eclipse: line 4: SDK: command not found
    /usr/bin/eclipse: line 9: Application: command not found
    /usr/bin/eclipse: line 9: Development: command not found

Leave a Reply

This work is licensed under a (cc) BY-NC | TecMint uses cookies. By using our services, you comply to use of our cookies. More info: Privacy Policy.
© 2012-2014 All Rights Reserved.