Configure eclipse in Ubuntu and eclipse in Ubuntu

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.