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: