Install latest/stable of OpenJDK

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.

Install using the command line

sudo snap install openjdk

Don't have snapd? Get set up for snaps.

Channel Version Published

Current JDK release and early-access builds

OpenJDK is the official reference implementation of the Java Platform, Standard Edition, a cross-platform computing environment that lets you develop and deploy Java applications on desktops, servers, and embedded systems.

This package provides everything you need to develop a Java application on Linux, including all of the latest development tools, class libraries, API documentation, and source code of the Java Development Kit (JDK).

To get started, see the README file for this package on GitHub:

Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Details for OpenJDK

  • GPL-2.0-with-classpath-exception

Last updated
  • 21 March 2023


Share this snap

Generate an embeddable card to be shared on external websites.

Where people are using OpenJDK

Install OpenJDK on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.

Is there a problem with OpenJDK? Report this app