How to install Eclipse in Ubuntu & Linux Mint with Ease

28/12/2020
Chưa phân loại

This is a work-through on how to install Eclipse in Ubuntu desktop. Eclipse Neon is the most recent release from the Eclipse top-level project. While it contains what you need to build applications based on Eclipse technology, it also includes integrated development environments IDE, and rich client applications using the Eclipse Rich Client Platform RCP. Lets take a quick look at its features before we proceed on how to install eclipse on Ubuntu.

Eclipse Neon  Features

  • New tools for JavaScript developers, including a JSON editor, support for Grunt/Gulp as well as new Chromium V8 Debugger.
  • Key Eclipse Platform improvements include HiDPI support and autosave. JDT’s Content Assist now highlights matched characters and provides substring completion.
  • New Eclipse PDT 4.0 release for PHP developers with complete support for PHP 7 as well as improved performance.
  • The Eclipse Automated Error Reporting client can now be integrated into any third-party Eclipse plug-in or standalone RCP application.
  • Eclipse users can now save settings, like Marketplace Favorites, with their Eclipse account.
  • New Projects: Eclipse Plug-ins for Gradle (first prime release), EGerrit, Paho, Andmore – Eclipse Android Tooling, EMF Parsley and Eclipse Tools for Cloud Foundry.
  • Improved support for Docker tooling.

How to install Eclipse in Ubuntu 16.10, Ubuntu 16.04 using Ubuntu Make

  • First we need to install Java 8 and above. Run the following commands to complete this task
sudo apt-get install openjdk-8-jre

or

$ sudo apt-get install openjdk-8-jdk
  • Next we run the following commands to install Eclipse Neon. Download Eclipse Installer here for either 32bit or 64bit. For this tutorial I will be installing the 64bit version
wget http://artfiles.org/eclipse.org//oomph/epp/neon/R2a/eclipse-inst-linux64.tar.gz  tar xf eclipse-inst-linux64.tar.gz  cd eclipse-installer    # Install eclipse with sudo if you want to install it in /opt directory  sudo ./eclipse-inst
  • After the installer loads > click on “Eclipse IDE for Java Developer” or any of the other options you desire

  • Check and confirm the install path is correct > Click Install

  • Accept License and certificate when prompted

  • After install is done > Click Launch

Create a Desktop File

  • Since this does not come with a desktop launcher, lets create one. Create the following file “eclipse.desktop” > edit as well as copy and paste entry below (ensure the path to where you installed eclipse is correct) > save
nano ~/.local/share/applications/eclipse.desktop
# copy below entry    [Desktop Entry]  Encoding=UTF-8  Version=1.0  Type=Application  Name=Eclipse IDE  Comment=Eclipse Integrated Development Environment  Icon=/opt/eclipse/java-neon/eclipse/icon.xpm  Exec=/opt/eclipse/java-neon/eclipse/eclipse  StartupNotify=true  StartupWMClass=java-neon
  • To use the launcher outside dash, then add execution permission to the file using the following command
chmod +x ~/.local/share/applications/eclipse.desktop
  • Finally open the file location for eclipse.desktop, drag and drop it on the launcher. Note you have to enable “Show hidden files”


					
                    
                    
                    
ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Install Google Chrome on Arch Linux

Google Chrome is one of the fastest and popular web browsers in the world. On distributions like Ubuntu, Debian, Red Hat...
28/12/2020

Bash text and background printing in different colors

A terminal is a very important application for any Linux operating system. It is mainly used to execute different commands...
29/12/2020

Driftnet command tutorial and examples

Sniffing consists of intercepting packets through a network to get their content. When we share a network, intercepting...
29/12/2020