Execute this in your terminal:
sudo apt-get install eclipse
sudo apt-get install openjdk-6-jdk openjdk-6-source openjdk-6-demo openjdk-6-doc openjdk-6-jre-headless openjdk-6-jre-lib
The first one installs Eclipse (you will be asked to enter your password), and the second one installs all the Java stuff you may need!
Answer from tuxtimo on Stack Overflow Top answer 1 of 6
14
Execute this in your terminal:
sudo apt-get install eclipse
sudo apt-get install openjdk-6-jdk openjdk-6-source openjdk-6-demo openjdk-6-doc openjdk-6-jre-headless openjdk-6-jre-lib
The first one installs Eclipse (you will be asked to enter your password), and the second one installs all the Java stuff you may need!
2 of 6
9
Don't install Eclipse from the Linux repositories. These repositories may not be up-to-date with the last versions released by Eclipse. A better approach is to follow the instructions in this answer from Ask Ubuntu. For Java programming, make sure you have a JDK and a JRE installed
apt-get install openjdk-7-jdk openjdk-7-jre
You can download whatever Eclipse Java IDE version suits you best from the Eclipse website (link to the Eclipse v4.4 (Luna) release).
Ubuntu
documentation.ubuntu.com โบ ubuntu-for-developers โบ howto โบ java-setup
How to set up a development environment for Java on Ubuntu - Ubuntu for Developers
3 weeks ago - de facto standard integrated development environment for Java development. This also provides the latest Java LTS (long-term support) version: ... Run eclipse to start the IDE. To install the default Java Development Kit for your Ubuntu release, run:
Videos
05:41
How to Install Eclipse on Ubuntu (2025 UPDATE) - YouTube
10:40
How to Install Eclipse IDE on Ubuntu 24.04 LTS Linux (2024) - YouTube
04:06
How to Install Eclipse on Ubuntu 22.04 LTS Linux LTS / Ubuntu 24.04 ...
06:47
How to Install Eclipse IDE on Ubuntu 22.04 LTS - YouTube
09:33
How to Install Eclipse IDE on Ubuntu Linux - YouTube
05:30
How to Install Eclipse IDE on Ubuntu 20.04 | Run Java Program - ...
TheServerSide
theserverside.com โบ video โบ Install-Eclipse-IDE-on-Ubuntu-in-5-easy-steps
Install Eclipse on Ubuntu | TheServerSide
This Eclipse and Ubuntu tutorial shows developers how to install the Eclipse IDE on Ubuntu, create a Maven project, and develop and test Java code.
Medium
medium.com โบ @simcogno โบ how-to-easily-install-eclipse-and-jdk-on-ubuntu-21-04-d585d9c53f55
How to easily install Eclipse and JDK on Ubuntu 21.04 | by Simone Cognolato | Medium
July 22, 2021 - Command 'java' not found, but can be installed with: sudo apt install openjdk-11-jre-headless # version 11.0.11+9-0ubuntu2, or sudo apt install default-jre # version 2:1.11-72 sudo apt install openjdk-15-jre-headless # version 15.0.3+3-1 sudo apt install openjdk-16-jre-headless # version 16.0.1+9-1 sudo apt install openjdk-17-jre-headless # version 17~19-1ubuntu1 sudo apt install openjdk-8-jre-headless # version 8u292-b10-0ubuntu1
The Eclipse Foundation
eclipse.org โบ downloads โบ packages โบ installer
Installer | Eclipse Packages
We've recently introduced the Eclipse Installer, a new and more efficient way to install Eclipse. It is a proper installer (no zip files), with a self-extracting download that leads you through the installation process. For those who prefer not to use the Installer, the packages and zip files ...
Javatpoint
javatpoint.com โบ how-to-install-eclipse-in-ubuntu
How to install Eclipse on Ubuntu 16.04 LTS?
How to Install Eclipse in Ubuntu for beginners and professionals with different software installation in ubuntu such as Java, PHP, MySQL, MariaDB, Node.js, MongoDB, Oracle, Apache, Eclipse, Netbeans, PhpMyAdmin, CouchDB, Drupal, Magento, Laravel, Wordpress, CodeIgniter etc.
Linux Hint
linuxhint.com โบ install-eclipse-ide-ubuntu
How to install Eclipse IDE on Ubuntu โ Linux Hint
In our case, we have selected the first option which is โEclipse for IDE Java Developersโ and after its installation, you can open it either by typing eclipse in the terminal or clicking on the Applications tab and looking for the Eclipse application on the search bar as displayed below. After opening this application, you will see its home screen with multiple options and features and you can use them accordingly. If you want to uninstall this application then you can do that by clicking on the Ubuntu software application tab and then looking for the eclipse application in the installed tab as shown below.
Ubuntu
help.ubuntu.com โบ community โบ EclipseIDE
EclipseIDE - Community Help Wiki
The important thing is to choose the JVM with sun in the title. To use the java-6-sun as the default JRE within Eclipse and to have it used in the build path of Java projects, click on Window -> Preferences -> Java -> Installed JREs and you will see the current JRE's available to Eclipse.
ComputingForGeeks
computingforgeeks.com โบ home โบ install eclipse ide on ubuntu 22.04/20.04/18.04
Install Eclipse IDE on Ubuntu 22.04/20.04/18.04 [Guide]
March 21, 2026 - Eclipse IDE comes with intuitive Code editor with compiler, interpreter, syntax highlighting and debugging tools for your Programming Language. In this post, we will see how to install Eclipse IDE on Ubuntu 22.04/20.04/18.04 using Ubuntu Make. Eclipse is written in Java and you need to have ...