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,
- Opening mac Terminal
- How to change default macOS Terminal Window size
- How to clear Mac Terminal screen
- Find Hostname of Mac running on macOS Ventura 13
- Installing MongoDB on Linux/Unix/macOS/Ubuntu
- How to switch from bash to zsh shell in macOS Terminal
- Limit scrollback rows in macOS Terminal
- How to Set Background Wallpaper on macOS 13 Ventura
- This operation couldnt be completed. Unable to locate a Java Runtime. [macOS]
- Encode or Decode Base64 String using Mac Terminal Command
- List of All Apple Silicon ARM Based M1/M2 Mac [updated Oct 2022)
- How to remove Siri from Menu Bar [macOS Big Sur]
- Must Know Homebrew Commands for Mac/Linux Users
- Hide Keyboard Text Input Icon on macOS Ventura Menu Bar
- 13.0 MacOS Ventura release date
- How to change the default location of Mac Screenshot
- How to set Out Of Office (OOO) on Outlook for Mac
- 30+ Zoom video communications application shortcuts for macOS
- How to install wget on macOS
- Mac turn dark mode on or off using terminal command
- Create Symbolic Link using Terminal Command
- Mac - How to Install VirtualBox
- How to Enable or Disable Dark Mode on macOS Ventura 13
- How to install homebrew (brew) on M1 Mac
- How to uninstall Microsoft Outlook on Mac
More Posts:
- How to Whitelist IP Address on GoDaddy Hosting? - HowTos
- How to enable disable SharePoint Developer Dashboard for tracing troubleshooting - SharePoint
- Twitch chat down, error loading data, content unavailable, streaming problem - News
- Two Buttons next to each other in Android Layout - Android
- Fix Error CAA50021 - Number of retry attempts exceeds expectation - Microsoft 365 Apps - Microsoft
- Change color of macOS terminal prompt - MacOS
- [Fix] Microsoft AADSTS900561: The endpoint only accepts POST requests. Received a GET request. - Microsoft
- Java JDBC Batch Update Example with PreparedStatement - Java