Skip to content
TrySitePrice

Ubuntu Linux: Install Latest Oracle Java 7

Best/Tutorial

To install the latest version of Oracle Java 7 on Ubuntu Linux, you can use the following steps:

  1. Add the Oracle Java PPA to your system’s software repository list by running the following command in the terminal:
sudo add-apt-repository ppa:webupd8team/java
  1. Update the package lists:
sudo apt-get update
  1. Install Oracle Java 7 by running the following command:
sudo apt-get install oracle-java7-installer
  1. Verify that Java 7 has been installed by running the following command:
java -version

You should see output similar to the following, indicating that Oracle Java 7 has been installed:

java version "1.7.0_XXX"

Java(TM) SE Runtime Environment (build 1.7.0_XXX-bXXX)

Java HotSpot(TM) 64-Bit Server VM (build XX.X-bXX, mixed mode)
(www.beyondbeaute.com)