How to Install Eclipse IDE on Ubuntu 24.04

By Surajit Saha Add a Comment 6 Min Read
Installing Eclipse IDE on Ubuntu

If you want to do Java programming on your Ubuntu system then you can use the Eclipse IDE. Eclipse Integrated Development Environment (IDE) is a popular IDE among Java developers, using it developers can create and run Java programs. Here is a complete step-by-step guide on; how you can install the latest version of Eclipse IDE on Ubuntu 24.04 LTS and set up it for Java programming.

However, before proceeding with the installation of Eclipse IDE on Ubuntu, it is necessary to install Java JDK and set it as the default Java version for Ubuntu. If you have multiple versions of Java installed, you can select one version as the default. For that, you can check out our guide on; how to switch between Java versions.

How to Install Java JDK On Ubuntu

If you don’t have Java installed, you can install the default version of Java JDK on your system. Since Eclipse IDE is used for Java development, it is essential to install the latest version of Java JDK on Ubuntu before proceeding with the installation of Eclipse IDE.

To install Java JDK, open the Terminal using the Ctrl + Alt + T shortcut key and run the following command:

sudo apt update
sudo apt install default-jdk

After installing the latest version of Java JDK on Ubuntu, you can proceed with the installation and setup process of Eclipse IDE for Java development on Ubuntu.

How to Install and Setup Eclipse IDE on Ubuntu

Now, to download the Eclipse IDE, open your browser, and open the link from eclipse.org. Then click on Download 64-bit and download the .tar.gz file. After you’ve finished downloading it, you can install it by following the steps below.

1. After the download is complete, open the Downloads location.

2. Now, extract the downloaded file. For that, right-click on it, and select the Extract Here option from the menu that appears.

Extracting Eclipse Installer File

3. Open the extracted folder; you’ll find the Eclipse installer folder inside; open it. You should now have access to all of the necessary files. Look for eclipse-inst, which is needed to install the Eclipse IDE on Ubuntu.

4. Now, double-click on it to open the Eclipse Installer.

Opening the Eclipse Inst

5. You need to update the Eclipse installer file, before installing Eclipse IDE for Java Developers on Ubuntu. For that, click on the Hamburger menu and click on the Update option.

6. After that, accept the license agreement to update the installer.

Updating the Eclipse Installer

7. If you get a Trust window, click on Select All and click Trust Selected. Now, it should restart your Eclipse Installer.

Installing Trust Signers for Ubuntu

8. If no update notification appears, select the Eclipse IDE for Java Developers option as we will be using it for Java programming.

Note

You can also use Eclipse IDE for other programming languages such as C, C++, PHP, and JavaScript.

Selecting the Eclipse IDE for Developers

9. On the next window, select the Java installation folder and the location where you want to install Eclipse IDE.

10. After that, click on INSTALL and accept the license agreement to install the latest version of Eclipse IDE for Java Developers on Ubuntu.

Setting Up the Product on Ubuntu

11. Finally, click on the LAUNCH button to open Eclipse IDE.

Eclipse Launch Window

That’s it! This is how you can install and set up Eclipse IDE for Java development on your Ubuntu system. Now, let’s discuss how you can create the workspace location.

How to Install Eclipse IDE using Snap Packages

For those who don’t want to follow all the above steps, there is a convenient option to install the Eclipse IDE using a single snap command on Ubuntu 24.04 LTS.

For that, open the Linux Terminal and run the command mentioned below:

sudo snap install eclipse --classic

How to Create Workspace Location

For that, Launch Eclipse IDE once the installation is complete. It will create a workspace location by default. But, you can change it if you want. I suggest leaving it at default.

Now, click on the Launch button to open the Eclipse IDE.

Eclipse IDE Launcher

After that, you’re ready to use the software to work on your Java project. Do you want to learn how to program in Java? If you answered yes, you should check out our Java Tutorial Playlist for beginners.

Conclusion

That’s it! By following the above-mentioned steps you can easily install and set the latest version of Eclipse IDE on your Ubuntu operating system for Java Programming. It is the popular Integrated Development Environment for developing Java programs.

We hope this guide was helpful to you. If you find it useful, don’t forget to share it with your friend. Also, if you have any questions regarding the setup process, you can ask them in the comments section below. We are always there to assist you.

TAGGED:
He is a technical nerd by trade, having started out with computer software and hardware and then moving on to networking and telecommunications. He also enjoys smart devices and smartphones, and shares a tremendous love for cricket and music.
Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *