How to Install Java Runtime Environment on Ubuntu?
Contents 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...
Contents
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.
How do I download and install Java on Ubuntu?
How to Download & Install Java in Linux(Ubuntu)
- Select x86 for 32-bit system.
- Select x64 for 64-bit system.
- Select the tar.gz for Ubuntu.
- Select rpm for Debian based system.
Must Read
How do I install Java 10 on Ubuntu?
To install Java JDK10, follow the steps below:
- Step 1: Add A Third Party PPA to Ubuntu. The easiest way to install Oracle Java JDK 10 on Ubuntu is via a third party PPA… To add that PPA, run the commands below.
- Step 2: Download Oracle Java 10 Installer.
- Step 3: Configure Oracle JDK10 as Default.