Install Eclipse in Linux for C/C ++ Development
C/C ++ IDE is selected in Linux. Eclipse is recommended.
Tools involved: JDK and Eclipse.
See download JDK and Eclipse C ++ to get the jdk-8u40-linux-i586.tar.gz and eclipse-cpp-luna-SR2-linux-gtk.tar.gz, assuming it is in/root/software.
Cd/root/software
Tar zxvf jdk-8u40-linux-i586.tar.gz
Tar zxvf eclipse-cpp-luna-SR2-linux-gtk.tar.gz
Vim ~ /. Bashrc
Add the following text at the end. Note that jdk1.8.0 _ 40 is the name of the extracted directory:
export JAVA_HOME=/root/software/jdk1.8.0_40export PATH=$PATH:$JAVA_HOME/binexport CLASSPATH=$CLASSPATH:$JAVA_HOME/lib
Vim eclipse/eclipse. sh
The Edit content is as follows:
#!/bin/bashexport JAVA_HOME=/root/software/jdk1.8.0_40export PATH=$PATH:$JAVA_HOME/binexport CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/root/software/eclipse/eclipse -vm $JAVA_HOME/bin/java
Chmod a + x eclipse/eclipse. sh
Ln-s/root/software/eclipse. sh/root/Desktop/Eclipse
Note that the absolute path should be used when creating the link.
For eclipse. sh or desktop link, you can right-click "properties" and change the icon to/root/software/Eclipse/icon. xpm. Right-click "stretch icon" to adjust the icon size.
Run/root/software/eclipse. sh or double-click Eclipse on the desktop to view the Eclipse startup interface.
None.
For more details, please continue to read the highlights on the next page:
-------------------------------------- Split line --------------------------------------
Install Java 8 and Eclipse 14.04 on Ubuntu 4.4 LTS
Hadoop Eclipse plug-in compilation and installation 1.2.0
Compile Hadoop plug-in Eclipse
Hadoop 1.2.1 compile Eclipse plug-in
Install JDK and Eclipse for C/C ++ in Ubuntu 13.10 (solving global menu problems)
How to install the latest Eclipse version in Ubuntu 14.04
-------------------------------------- Split line --------------------------------------