OpenJDK

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

Installing this package does not replace the JDK provided by your Linux distribution but instead allows you to use both of them side by side. To get started, see the README file for this package on GitHub:

https://github.com/jgneff/openjdk

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

Details for OpenJDK

License
  • GPL-2.0-with-classpath-exception

Last updated
  • 16 October 2024 - latest/stable
  • 14 November 2024 - latest/edge

Contact

Source code

Report a Snap Store violation

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.