Question: How to Install Jre on Ubuntu?
Contents

How to install Oracle Java JDK 7 on Ubuntu 14.04

  • Step 1: Install python-software-properties. sudo apt-get install python-software-properties.
  • Step 2: Add the java repository to your list and update the list. sudo add-apt-repository ppa:webupd8team/java sudo apt-get update.
  • Step 3: Install Oracle JDK 7. sudo apt-get install oracle-java7-installer.

How do I install Java on Ubuntu?

This is the OpenJDK package which is an open source implementation of Java.

  1. Step 1: Update Ubuntu. The first thing you should always do is update your system.
  2. Step 2: Install the default JDK. Run the following command: apt-get install default-jdk.

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.
James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest