• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / Uncategorized / How to Install OpenJDK 8 in Ubuntu 14.10, Ubuntu 14.04 & Ubuntu 12.04 Systems

How to Install OpenJDK 8 in Ubuntu 14.10, Ubuntu 14.04 & Ubuntu 12.04 Systems

By Sourabh / January 14, 2015 Category: Uncategorized

Install OpenJDK 8 in Ubuntu Systems via PPA Repository. How to install OpenJDK 8 in Ubuntu 14.10, Ubuntu 14.04 and Ubuntu 12.04 Systems. OpenJDK 8 is also available in Ubuntu Software Center for Ubuntu 14.10 and Ubuntu 15.04.

OpenJDK Java 8 is now added to the official Ubuntu repositories for Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04, and Linux Mint 17. OpenJDK 8 is also available in Ubuntu Software Center for Ubuntu 14.10 and Ubuntu 15.04.

Install OpenJDK 8 in Ubuntu via PPA Repository

Linux Ubuntu system can be updated with unsupported packages from this PPA by adding ppa:openjdk-r/ppa to the system’s Software Sources. To install OpenJDK 8 in Ubuntu systems, open Terminal and run the following commands:

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk

Run the following command to set the default Java:

sudo update-alternatives --config java

If there is only one Java version installed on your system, you will get the message (see screenshot below).


java-ubuntu

If there is more than one Java versions installed on your system, type in a number to select a Java version. Set default Java Compiler by running the command:

sudo update-alternatives --config javac

Once installed, run the command “java -version” (without quotes) to check the Java version installed on your system.

Tags: How to Install JAVA OpenJDK 8 in Linux Ubuntu, How to Install OpenJDK 8 in Ubuntu 12.04, How to Install OpenJDK 8 in Ubuntu 14.04, How to Install OpenJDK 8 in Ubuntu 14.10, Install JAVA OpenJDK 8 in Linux Mint, Install JAVA OpenJDK 8 in Ubuntu 12.04, Install JAVA OpenJDK 8 in Ubuntu 14.04, Install JAVA OpenJDK 8 in Ubuntu 14.10, Install OpenJDK 8 in Linux, Install OpenJDK 8 in Ubuntu, Install OpenJDK 8 in Ubuntu via PPA Repository, Linux OpenJDK 8 PPA, Ubuntu 14.04, Ubuntu 14.10, Ubuntu OpenJDK 8 PPA

Primary Sidebar

Latest Posts

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap