Install eclipse in redhat

Source: Internet
Author: User
Download eclipse at http://www.eclipse.org /. Eclipse can be executed on many platforms. Here we want to install it on linux. For details, select linux (x86/GTK2 ). Download the Platform Supported By eclipse. At the time of writing this article, the latest version of eclipse is version 3.0, and version 2.1.1 supports C/C ++ development and execution. SunJDK1 must be used for eclipse execution.

Download eclipse at http://www.eclipse.org /.

Eclipse can be executed on many platforms. Here we want to install it on linux. Refer,

Select linux (x86/GTK 2 ).

Download this

Platforms supported by eclipse

At the time of writing this article, the latest version of eclipse is version 3.0, and version 2.1.1 supports C/C ++ development and execution.

Sun JDK must be used to execute eclipse.

1, but the eclipse installation program does not contain Sun JDK,

Red Hatlinux 9 does not contain Sun JDK. So next we will download this file. Sun most

The new JDK version can be downloaded to the http://www.javasoft.com, where we use Java 2 SDK (J2SE) 1.4.2-01

1. eclipse seems to be compatible with JDK of IBM or other companies, but I have not actually tested it.

After the two software are downloaded, install JDK first (as root ):

[Root @ ljn] chmod 711 j2sdk-1_4_2_01-linux-i586-rpm.bin

[Root @ ljn]./j2sdk-1_4_2_01-linux-i586-rpm.bin

[Root @ ljn] rpm-ivh j2sdk-1_4_2_01-linux-i586-rpm

After the statement is executed, several page copyright statements will appear. Answer yes.

To continue the installation. A

J2sdk-1_4_2_01-linux-i586-rpm archives, next

To use rpm for Installation

[Root @ ljn] rpm-ivh j2sdk-1_4_2_01-linux-i586-rpm

Change the File Permission to executable permissions

After the JDK is installed, it will be stored in the/usr/java/j2sdk1.4.2 _ 01 directory (the JDK directory names of different versions will be different, for example,/usr/java/j2sdk1. x. y_zz ).

Make a symbolic connection

[Root @ ljn] ln-s/usr/java/j2sdk1.4.2 _ 01/usr/java/jdk

Next we will install eclipse. Here we will install eclipse in the/opt directory. You will also

You can choose to install it in different directories. Installing eclipse is simple. You only need to unbind the downloaded compressed file:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.