Skip to content
Mkyong.com
Mkyong.com
  • Development Service
  • Spring Boot
  • Java 8
  • Contact

openjdk

How to install Java JDK on Ubuntu

March 29, 2021August 12, 2008 by mkyong

This tutorial shows you how to install OpenJDK 8, 11, 16, and other JDK builds on Ubuntu 20. 1. APT Install JDK (OpenJDK 8 and 11) 2. Install JDK manually (OpenJDK 16) 3. Install Oracle JDK on Ubuntu 4. Switch between different JDK versions 5. Add JAVA_HOME to Ubuntu environment variable 6. References 1. APT …

Read more

Categories java Tags install jdk, jdk, openjdk, oraclejdk, switch jdk, ubuntu 1 Comment

Mkyong.com has provided Java and Spring tutorials, guides, and code snippets since 2008. All published articles are simple, easy to understand, and well-tested in our development environment.

Mkyong.com licenses all source code on this website under the MIT License.

Tools
  • Spring Framework
  • Quarkus Framework
  • Micronaut Framework
  • Oracle Java JDK
  • Eclipse Temurin JDK
  • OpenJDK JDK
  • Hibernate ORM
  • Maven Build Tool
  • Gradle Build Tool
  • Tomcat Application Server
  • Docker
Links
  • Spring Guides
  • Docker Hub
  • Maven Central
  • Keep A Changlog
  • Semantic Versioning
  • Hugging Face - Qwen
  • Martin Fowler
About
  • About Us
  • Code License
  • Privacy Policy
  • Terms Of Use
  • Contact Us
© 2026 Mkyong.com - Build with Love.