CentOS6.5 Installing eclipse

Source: Internet
Author: User
Tags gtk

  1. First download a eclipse,http://www.eclipse.org/downloads/on the website

    I downloaded the eclipse-java-luna-sr1-linux-gtk-x86_64.tar.gz.

  2. Unzip the file to the appropriate directory, I unzipped in the/OPT directory

    #tar-ZXVF eclipse-java-luna-sr1-linux-gtk-x86_64.tar.gz-c/opt

    Where-c switches the destination address to/OPT, the destination address can be freely transformed, but recommended for/OPT

  3. The installation is complete and the following configuration enables the use of eclipse in the shell environment to open the software

    3.1 Modifying/opt/eclipse permissions

    #chmod-R +r/opt/eclipse

    3.2 Create an eclipse file under/usr/bin and Modify permissions

    #touch/usr/bin/eclipse

    #chmod 755/usr/bin/eclipse

    3.3 Adding scripts launched from the shell

    #vi/usr/bin/eclipse

    Insert the following lines and save the exit:

    #!/bin/sh

    Export Eclipse_home= "/opt/eclipse"

    $ECLIPSE _home/eclipse $*

    3.4 Start eclipse by entering Eclipse command at terminal

  4. Add a desktop shortcut

    In the blank space of the desktop, click the right mouse button, pop up a dialog box, select "Create Launcher" (Chinese is "new launcher"), in the "Create Launcher" (Chinese "Creating Shortcut") dialog box select Application (Chinese "application"), Input name: Eclipse, in command (Chinese "command") to find the Eclipse launcher (for example, my is:/opt/eclipse/eclipse), double-click on the upper left side of the icon will pop up a selection icon of the dialog box, find the directory to install Eclipse, Locate the icon.xpm in the directory, select Open (OK), and set it up like this:

    650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4C/05/wKioL1Q2k9GycHgdAADS2sq6mro471.jpg "title=" Screenshot-create launcher.png "alt=" Wkiol1q2k9gychgdaads2sq6mro471.jpg "/>

  5. At this point, there are three ways to open Eclipse (1) desktop shortcuts, 2) command line terminal; 3) Explorer (Eclipse double-click icon in/opt/eclipse directory)




This article is from the "Learning" blog, so be sure to keep this source http://learnwithme.blog.51cto.com/7148047/1561913

CentOS6.5 Installing eclipse

Related Article

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.