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

See the README file for information on how to use this package:

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).

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
  • 28 February 2024 - latest/stable
  • 1 March 2024 - latest/edge



Source code

Share this snap

Generate an embeddable card to be shared on external websites.

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