Skip to content

mkyong.com

  • Spring Boot
  • Java Virtual Threads
  • Contact
  1. Home /
  2. switch jdk

Tag: switch jdk

mac logo
java March 4, 2020 8 min read by mkyong 36 comments

How to install Java JDK on macOS

This article shows how to install Java JDK on macOS, Homebrew package manager, manual installation, and switch between different JDK versions. Tested with macOS 11 Big Sur Homebrew 2.7.4 JDK 8, 14, 16, 16 (AdoptOpenJDK and OpenJDK) Topics Homebrew install latest Java (OpenJDK) on macOS Homebrew install Java 8 (OpenJDK) on macOS Homebrew install a […]

Read more How to install Java JDK on macOS
java August 12, 2008 6 min read by mkyong 1 comment

How to install Java JDK on Ubuntu

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 How to install Java JDK on Ubuntu

Java and Spring tutorials since 2008. Every example is a complete, runnable file, compiled and run on a real machine before it goes out.

About This Site

  • About
  • Editorial Policy
  • Contact
  • Code License
  • Privacy Policy
  • Terms of Use

© 2026 mkyong.com — Powered by WordPress

RSS