Install eclipse under CENTOS7

Source: Internet
Author: User
Tags gtk

1 Download eclipse-jee-neon-2-linux-gtk-x86_64.tar.gz in the following path
Http://eclipse.stu.edu.tw/technology/epp/downloads/release/neon/2/eclipse-jee-neon-2-linux-gtk-x86_64.tar.gz

2. Unzip the file into the/OPT directory

[Email protected] local]# TAR-ZXVF eclipse-jee-neon-2-linux-gtk-x86_64.tar.gz-c/opt/

3 Connecting Directories with symbols

[Email protected] local]# ln-s/opt/eclipse/eclipse/usr/bin/eclipse

注意
Symbolic link Usage ln-s source file destination file,-S is symbolic meaning (symbolic) soft Connect
Symbolic links work by creating a special type of file that will only generate a mirror image of a file in the location you selected. Its function is to create a synchronized link for a file in another location. When we need to use the same file in different directories, we don't need to put a file in every required directory, we just put the file in a fixed directory, and then The other directory uses the ln command to link it so that it does not have to use disk space repeatedly. Similar to the shortcut keys under Windows, so you can open the software without knocking at the terminal.
If you use LS to look at a directory, found that there is a file at the end of a @ symbol, that is a file generated with the LN command, with the ls-l command to check, you can see the path of the link shown

The command means that a synchronization connection is created in the/usr/bin/eclipse directory, and the source file is in the/opt/eclipse/eclipse directory

lrwxrwxrwx. 1 root root 20 March 19:00 Eclipse-/opt/eclipse/eclipse

4 editing a shortcut to start eclipse

Vi/usr/share/applications/eclipse.desktop

5 Modify the Eclipse.ini file and add the following at the beginning

-vm
/usr/java/jdk1.8.0_121/jre/bin/java

Install eclipse under CENTOS7

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.