This article provides detailed information on how to install Java on macOS,
- Open Terminal Window,
- Make sure your brew is updated - if not, run $ brew update,
- Now run $ brew tap adoptopenjdk/openjdk (https://github.com/AdoptOpenJDK/homebrew-openjdk,
- To search java versions: $ brew search jdk,
- To install Java8 run command : $ brew cask install adoptopenjdk8
- Java would get installed in Library/Java/JavaVirtualMachines/ location.
adoptopenjdk8
adoptopenjdk8
adoptopenjdk8-jre
adoptopenjdk8-openj9
adoptopenjdk8-openj9-jre
adoptopenjdk9
adoptopenjdk10
adoptopenjdk11
adoptopenjdk11-jre
adoptopenjdk11-openj9
adoptopenjdk11-openj9-jre
adoptopenjdk12
adoptopenjdk12-jre
adoptopenjdk12-openj9
adoptopenjdk12-openj9-jre
adoptopenjdk13
adoptopenjdk13-jre
adoptopenjdk13-openj9
adoptopenjdk13-openj9-jre
⚠️ macOS: Catalina, Mojave, Big Sur
Java version: 8, 9, 10, 11, 12, 13, 14, 15
More Posts related to MacOS,
- How to show line numbers in Nano on Mac
- How to install Jupyter Notebook on macOS Sonoma
- How to Disable Remote Management using Mac Terminal
- Test internet speed using macOS Terminal command
- Docker Desktop needs privileged access macOS
- Google Search Hot Trends Screensaver for Mac OS X
- How to do calculations in Mac Terminal
- How to make TextEdit the default text Editor on Mac
- How to Show Full Website Address on Safari for Mac (Ventura/Sonoma)
- The Zsh Shell - Mac Tutorial
- Opening mac Terminal
- How to change the name of your Mac running on macOS Ventura 13
- How to find the Battery Cycle Count on macOS Ventura
- How to set an emoji as Zsh terminal prompt in macOS
- How to access Trash Folder using Mac Terminal Command
- macOS Ventura XCode Command Line Tools Installation
- Hide Bluetooth icon on Mac Menu Bar macOS Ventura 13
- How to run .sh file in Mac Terminal
- Terminal Command to get the list of available shells in macOS
- How to see Storage Information on macOS Ventura
- How to Go To /usr/local/bin on Mac Terminal?
- How to do screen recording on Mac
- How to Find File and Directory Size in Mac Terminal
- Open .bash_profile File in TextEdit using Terminal
- Remove Now Playing icon from macOS Big Sur Menu Bar
More Posts:
- Fix Generics: error unexpected type required: class found: type parameter - Java
- Fix: UnsupportedClassVersionError: Unsupported major.minor version 63.0 - Java
- How to add a Task List to Quick View Menu in SharePoint Online Site - SharePoint
- Install GitHub Command Line Tool on Mac - Git
- How to Write Code in Windows Notepad - Windows
- Working with Bluetooth on Mac Terminal using blueutil Commands - MacOS
- How to change Android EditText Cursor Color - Android
- Ubuntu: How to set Environment Variable - Ubuntu