Eclipse Configuration and shortcut creation under ubuntu18.04

Source: Internet
Author: User

We have been developing in windows for a long time, you may know that eclipse does not need to install, only need to decompress, configure the environment variables can be used, but there may be some problems under Linux, Below we illustrate the use of Eclipse based on the latest Ubuntu18.04 and the latest eclipse, which can be used quickly in the next two steps.

1. Create a shortcut

Linux Shortcut directory under/usr/share/applicaitons/

Create Eclipse.desktop

    1. [Desktop Entry]
    2. encoding=UTF-8
    3. Name=Eclipse
    4. Exec=/home/haha/environments/eclipse/eclipse
    5. icon=/home/haha/environments/eclipse/icon.xpm
    6. Startupnotify=True
    7. Type=Application

Note that the path to write to, so you will see the icon, but found still can not run, find the JRE, what ghost, clearly configured environment variables, in fact, this is the problem of eclipse, we are the second step, configure the Eclipse JRE path.

2. Configure the Eclipse JRE

Let's say the JRE in the JDK path is copied to the Eclipse root directory.

(if not, go to the official website and download the JRE to the Eclipse root directory)

Eclipse Configuration and shortcut creation under ubuntu18.04

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.