Question: How to Install Java 8 on Ubuntu 14.04?
Contents

Install Java 8 on Ubuntu 14.04

  • Step 1: Add the repository. At the time of writing, Java 8 is not in the sources list by default, so we have to add the “Webupd8” repo, which contains Java 8.
  • Step 2: Update the repository list. apt-get update.
  • Step 3: Install.
  • Step 4: Verify installation.

How do I install Java 8 on Ubuntu?

Install Oracle Java 8 / 9 in Ubuntu 16.04, Linux Mint 18

  1. Add the PPA. Open terminal (Ctrl+Alt+T) and run the command:
  2. Update and install the installer script: Run commands to update system package index and install Java installer script:
  3. Check the Java version. To check the Java version after installing the package, run command:
  4. Set Java environment variables.

How do I install Java on Ubuntu system?

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.
Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest