Java starts from scratch 21 (configuring Eclipse under Ubuntu)

Source: Internet
Author: User

The first thing to configure is jdk:http://www.cnblogs.com/liunanjava/p/4296540.html

First, download
    • Eclipse:http://www.eclipse.org/downloads/
Second, installation configuration2.1. Decompression
2.2. CP to a folder

Move files or copy

sudo mv/home/ln0491/downloads/eclipse/  /usr/local/

If the CP command is used for replication

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 path in 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 a shortcut
/usr/share/applications/Eclipse.desktop writes the following [Desktop entry]name=eclipsecomment=Eclipse Sdkencoding=utf-8Exec=/usr/local/eclipse/eclipseicon=/usr/local/eclipse/  Icon.xpmterminal=falseType=application After completion can be in the/usr/share/applications/directory See the Eclipse icon.

Then make the/usr/share/applications/directory from the graphical interface, copy the Eclipse icon to the desktop, or drag it to the left launcher

Java starts from scratch 21 (configuring Eclipse under Ubuntu)

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.