Install eclipse under centos6.2

Source: Internet
Author: User
Tags gtk

The installation process is as follows:
1. sudo MV eclipse-jee-indigo-SR2-linux-gtk.tar.gz/opt/move the file to the/opt/directory (skip this step if it is put under/OPT at the beginning );
2. Tar-zxvf uncompress eclipse-jee-indigo-sr2-linux-gtk.tar.gz: tar-zxvf eclipse-jee-indigo-SR2-linux-gtk.tar.gz. After decompression, an eclipse directory is added to the/OPT directory.

Note:: The unzipping process may fail, and the following information appears:


That is because some folders in the eclipse-jee-indigo-sr2-linux-gtk.tar.gz package are created by the root permission, so you also need to use the root permission during decompression, then you need to use the sudo tar-zxvf eclipse-jee-indigo-SR2-linux-gtk.tar.gz command for decompression; if you log on to the system as a root user, simply extract the package.
3. Go to the/opt/Eclipse/directory and double-click eclipse. Eclipse is started !!

Create a desktop shortcut for eclipse

In the blank area of the Linux desktop, right-click it and a dialog box will pop up. Select "create launcher" ("new starter" in Chinese) and click "create launcher" ("create shortcuts" in Chinese ") in the dialog box, select ApplicationProgram"), Enter the name: eclipse, and find the eclipse Startup Program in command (Chinese" command ") (for example, My is/opt/Eclipse/eclipse ), double-click the icon on the upper left side to bring up a dialog box for selecting the icon. Find the eclipse installation directory and find the icon in the directory. XPM: select Open (OK). After setting it, it is similar:


Finally, select "OK" to create the eclipse shortcut on the desktop. If you want to use eclipse, double-click the shortcut icon. Is it very helpful? Haha

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.