Installing Java on macOS
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,
- Clear Screen shortcut macOS Terminal
- What is macOS Ventura?
- [fix] How to Show file extensions on all files on Mac
- How to Find Where Mac Terminal App is Located?
- AutoSave button not working on Office on Mac (Word, Excel or Powerpoint)
- macOS say command text to speech using various voices and languages
- How to change Ping TTL value on macOS
- Open .bash_profile File in TextEdit using Terminal
- How to know the Safari Version on Mac
- How to Copy full Absolute Path of a File on Mac
- 13.0 MacOS Ventura release date
- Enable spell check in Sublime Text (macOS)
- How to Display Analog Clock on Mac Menu Bar
- How to turn off Location Services macOS Ventura 13
- How to Open VS Code on Mac
- Add Bookmark macOS Safari
- How to Fix cd: too many arguments Error in Terminal: A Step-by-Step Guide
- How to install wget on macOS
- Select Line Number TextEdit on Mac
- Strikethrough Text in Excel for Mac
- How to Enable or Disable Dark Mode on macOS Ventura 13
- How to hide or display Wifi icon in macOS Bug Sur Menu Bar
- How to install Yarn on Mac (macOS)
- How to fix command not found brew (bash, zsh) on macOS Terminal
- How to Schedule Mails in macOS Ventura
More Posts:
- How to adjust MacBook Desktop icons size - MacOS
- How to rename a Pandas DataFrame Column Names - Python
- Fix SharePoint PowerShell error - The term Get-SPweb is not recognized as the name of a cmdlet function script file or operable program - SharePoint
- [macOS] How to search or view previous terminal command history - MacOS
- How to format LocalDate in Java using DateTimeFormatter - Java
- Eclipse Error : The Eclipse executable launcher was unable to locate its companion shared library. - Eclipse
- Json Serialization and Deserialization using Java Jackson - Java
- Running Android Lint has encountered a problem NullPointerException Error - Android