Contents
This is the OpenJDK package which is an open source implementation of Java.
- Step 1: Update Ubuntu. The first thing you should always do is update your system.
- Step 2: Install the default JDK. Run the following command: apt-get install default-jdk.
Where does Eclipse install on Ubuntu?
To install Eclipse on your Ubuntu system, follow these steps:
- Install Java. Eclipse is a Java-based application and it requires a Java runtime environment (JRE) to be installed in order to run. Install the default OpenJDK package with:
- Install Eclipse. We will be installing Eclipse using the snappy packaging system.
How do I install Java on Ubuntu?
How to install Java (the default JDK) on Ubuntu using apt-get
- Step 1: Update Ubuntu. The first thing you should always do is update your system. You can do so by running the following commands: apt-get update && apt-get upgrade.
- Step 2: Install the default JDK. Run the following command: apt-get install default-jdk.