Install Eclipse in Ubuntu

Source: Internet
Author: User
1. First, make sure that jdk has been installed in Ubuntu. For the installation method, see Ubuntu12.04. For details about how to install and configure JavaJDK, see idea.

1, first of all to ensure that jdk has been installed in Ubuntu, see the installation method: Ubuntu 12.04 installation and configuration of Java JDK see http://www.linuxidc.com/Linux/2012-10/71937.htm

2. Download Eclipse
 
3. Decompress eclipse to the directory you want to install, copy the jre file under the jdk installation directory to the eclipse installation directory, and double-click the eclipse running icon, eclipse started.
 
How to create an eclipse starter on the desktop

1. sudo apt-get install -- no-install-recommends gnome-panel

2. Run: gnome-desktop-item-edit ~ /-- Create-new
 
Alternatively, use the following method:
 
$ Sudo su
# Vim/usr/share/applications/eclipse. desktop
Write the following content
[Desktop Entry]
Name = Eclipse
Comment = Eclipse SDK
Encoding = UTF-8
Exec =/usr/local/eclipse
Icon =/usr/local/eclipse/icon. xpm
Terminal = false
Type = Application
Categories = Application; Development;

After that, you can see the eclipse icon under Application-Programming.

Note:

Exec =/usr/local/eclipse
Icon =/usr/local/eclipse/icon. xpm
 
These are the directories where the eclipse executable files and icons are located. They are modified according to your actual situation.

 

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.