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

Recent Posts

  • Java Compact Source File: No Class, No Static Main
  • Java Scoped Values Example
  • Spring Boot RAG Example with Spring AI
  • Java AtomicInteger Example
  • Java Virtual Threads Example
  • Spring Boot Supabase CRUD Example
  • Spring Boot REST Docs Example
  • How to Install Java on Windows (Step-by-Step Guide)

© 2008–2026 mkyong.com

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