Eclipse is an excellent source code editing tool that supports symbol table parsing like source insight. In addition, it also supports lexical analysis, syntax analysis, external symbols, introduction of external header files, SVN, CVS project management, and other functions. It is one of the powerful tools for software development in Linux.
The process of configuring eclipse that supports java is similar to that of C/C ++. The specific configuration steps are as follows:
Step 1: download the latest jdk version. This is because eclipse is written in java and must support java virtual machines when running on machines. Of course, you can also download jre, but considering that you need to configure eclipse that supports java projects, you can download the jdk environment. Note: select the operating system platform. Here the linix_x86 32-bit version is downloaded: jdk-7u5-linux-i586.tar.gz
Step 2: Download eclipse here. eclipse that supports java is: Eclipse IDE for Java EE Developers. eclipse that supports C/C ++ is: eclipse IDE for C/C ++ Developers (includes Incubating components ). Here are the compression files used: eclipse-jee-indigo-SR2-linux-gtk.tar.gz and eclipse-cpp-indigo-SR2-incubation-linux-gtk.tar.gz are recommended to download eclipse when using a Japanese server, the speed will be faster. For example, http an Advanced Institute of Science and Technology (http)
Step 3:
- Mkdir ~ /Software
- Cd ~ /Software # assume that the current directory is the download directory
-
- Mkdir jdk
-
- Mkdir eclipse_c
-
- Mkdir eclipse_java
-
- Cd-# Return to the download directory
-
- Music jdk-7u5-linux-i586.tar.gz ~ /Software/jdk/
-
- Music eclipse-jee-indigo-SR2-linux-gtk.tar.gz ~ /Software/eclipse_java
-
- Music eclipse-cpp-indigo-SR2-incubation-linux-gtk.tar.gz ~ /Software/eclipse_c
-
- Cd-
-
- Cd jdk
-
- Tar-zxvf jdk-7u5-linux-i586.tar.gz
-
- Cd ../eclipse_c
-
- Tar-zxvf eclipse-cpp-indigo-SR2-incubation-linux-gtk.tar.gz
-
- Cd ../eclipse_java
-
- Tar-zxvf eclipse-jee-indigo-SR2-linux-gtk.tar.gz
-
- Vi ~ /. Cshrc # assume that you are using cshell.
-
- # Add a few lines
-
- Setenv JAVA_HOME ~ /Software/jdk/jdk1.7.0 _ 04
-
- Alias eclipse_c ~ /Software/eclipse_c/eclipse-vm $ JAVA_HOME/bin/java
-
- Alias eclipse_java ~ /Software/eclipse_java-vm $ JAVA_HOME/bin/java
-
- Setenv PATH ~ /Software/jdk/jdk1.7.0 _ 04/bin: $ PATH
-
- : Wq # exit vi
-
- Source ~ /. Cshrc
-
- # Test:
-
- Eclipse_c &
-
- Eclipse_java &#
-
- Jps # Check the java Process
-
- # The following are the display results on my machine.
- 5213 org. eclipse. equinox. launcher_1.2.0.v20110502.jar
- Jps 5315
- 5233 org. eclipse. equinox. launcher_1.2.0.v20110502.jar
This article from "believe and love" blog, please be sure to keep this source http://hipercomer.blog.51cto.com/4415661/901037