Configure eclipse in Ubuntu and eclipse in Ubuntu
First configure jdk: http://www.cnblogs.com/liunanjava/p/4296540.html
1. Download
- Eclipse:Http://www.eclipse.org/downloads/
Ii. Install configuration 2.1 and decompress
sudo tar -zxvf eclipse-jee-luna-SR1a-linux-gtk-x86_64.tar.gz
2.2 cp to a folder
Move or copy a file
sudo mv /home/ln0491/Downloads/eclipse/ /usr/local/
Use the cp command to copy data.
sudo cp -r /home/ln0491/Downloads/eclipse/ /usr/local/
2.3 start eclipse
user/local/eclipse/eclipse
2.4 configure Environment Variables
Vi/home/ln0491/. bashrc // Add a path to pathc
export JAVA_HOME=/usr/local/develoment/jdk1.8.0_31/export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:/usr/local/eclipse/
2.5 create shortcuts
Create a desktop link $ sudo su # vim/usr/share/applications/eclipse. desktop Write the following content [Desktop Entry] Name = EclipseComment = Eclipse SDKEncoding = UTF-8Exec =/usr/local/eclipse/eclipseIcon =/usr/local/eclipse/icon. after xpmTerminal = falseType = Application is complete, you can see the eclipse icon in the/usr/share/applications/directory.
Then, copy the eclipse icon to the/usr/share/applications/directory from the GUI, or drag it to the starter on the left.