Build Elicpse in 64-bit Ubuntu tulinux environment I. System version I Linux System version Linuxversion 3.2.0-26-generic (buildd @ batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5 )) # 41-Ubuntu SMP Thu Jun 14 17: 49: 24UTC 2012 Linuxversion 3.2.0-26-generic # 41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012x86_64 x86_64 x86_64 GNU/Linux summary: 64-bit 3.2.0 UbuntuLinux System II. Download 1. JREJREJava runtime environment package: http://java.com/zh_CN/download/linux_manual.jsp? Locale‑zh_cndownload the file jre-7u5-linux-x64.tar.gz www.2cto.com 2. eclipse software: http://www.eclipse.org/downloads/ download Eclipse IDE for C/C ++ sssoftware release, that is, eclipse-cpp-juno-linux-gtk-x86_64.tar.gz three, install 1. JRE installation steps: 1. run the sudo-su root command to manage the root user in advanced mode. 2. Decompress jre-7u5-linux-x64.tar.gz in the/usr/javadirectory and run the command: tar zvxf jre-7u5-linux-x64.tar.gz 3. Modify the profile in the/etc directory and add the following three sentences. ExportJAVA_HOME =/usr/java/jre1.7.0 _ 05 exportPATH = $ JAVA_HOME/bin: $ PATH exportCLASSPATH = $ JAVA_HOME/lib: $ CLASSPATH: configure the JAVA runtime PATH, the path of the JAVA library. In short, the parameter configuration of the JAVA Runtime Environment. 4. Be sure to restart the machine and run the java-version command to test whether the JRE has been installed. Run the java-version command. The following prompt is displayed, indicating that the JREJava runtime environment is correctly installed. Javaversion "1.7.0 _ 05" Java (TM) SE Runtime Environment (build 1.7.0 _ 05-b06) JavaHotSpot (TM) 64-Bit Server VM (build 23.1-b03, mixed mode) decompress www.2cto.com to obtain the Eclipse folder and go to the directory for execution. /If the following error message appears in eclipse:
It indicates that there is no Java Runtime Environment on the current Linux machine, and JRE (Java Runtime Environment) or JDK (Java Development Kit) needs to be installed ). 4. Conclusion: You need to install the JRE (Java Runtime Environment installation package) and the Eclipse application software. Remember to install the Java Runtime Environment installation package and restart the machine for the configuration to take effect. Author littletigerat