🌐
Oracle
java.com › en › download › help › mac_install.html
How do I install Java for my Mac?
1. Download the jre-8u311-macosx-x64.dmg file. Review and agree to the terms of the license agreement before downloading the file. ... 4. Double-click on the .app icon to launch install Wizard. You might be prompted with message indicating app being downloaded from the Internet.
🌐
Oracle
java.com › en › download › help › java_mac.html
Installing and using Oracle Java on macOS
» After I updated to Sierra, Yosemite or El Capitan, why am I told to install Java after I already installed the latest Java? ... How do I get Java for my Mac? You can download Java from java.com.
🌐
Mac Install Guide
mac.install.guide › java › download
Download Java for Mac · Mac Install Guide · 2026
How to download Java for Mac. Get a free Java JDK for macOS from a recommended vendor, no account needed. Clear Java download and installation steps.
🌐
freeCodeCamp
freecodecamp.org › news › how-to-install-java-on-mac
How to Install Java on Mac in 2026
February 20, 2026 - Run /usr/libexec/java_home -V to list all installed versions. See Set JAVA_HOME on Mac to point to the version you want. Homebrew is the fastest path, but other options exist. Manual download: You can download the .pkg installer directly from adoptium.net and double-click to install.
🌐
Uakron
cs.uakron.edu › ~xiao › isp › JavaOnMacOS.html
Installing Java on MacOS
If you get a message that says: 'No Java runtime present requesting install', then you do not have Java installed on your system. Go to this link to download Java JDK. You can download the latest version if you wish · Download the .dmg file that says 'macOS Installer'
🌐
GeeksforGeeks
geeksforgeeks.org › installation guide › how-to-install-java-on-macos
How to Install Java on MacOS: A Step-by-Step JDK Installation - GeeksforGeeks
July 23, 2025 - Go to the Oracle official site to download Java 23 by clicking on the download option as highlighted in the below media over where you need to download '.dmg' one and carry on with the download procedure.
🌐
Oracle
java.com › en › download › apple.jsp
Download Java
如果您在 macOS Intel (x86_64) 上运行,请下载 x86_64 版本的 JRE.
🌐
Snyk
snyk.io › blog › install-java-on-macos
How to install Java on macOS | Snyk
April 17, 2024 - For this tutorial, select the OpenJDK version you prefer (for example, OpenJDK 11) and choose macOS as your operating system. After selection, click on the `Latest release` button to download the JDK.
🌐
Mac Install Guide
mac.install.guide › java › install
Install Java on Mac · Mac Install Guide · 2026
You have two ways to install Java on macOS. Homebrew is faster for most users. One command downloads and installs Java automatically. If you already use Homebrew for developer tools, this is the easier path.
Find elsewhere
🌐
PhoenixNAP
phoenixnap.com › home › kb › devops and development › how to install java on mac
How to Install Java on Mac | phoenixNAP KB
May 8, 2025 - This article shows you how to install the Java Development Kit (JDK) and the Java Runtime Environment (JRE) on macOS. ... A system running macOS 10.7.3 and above. Administrative access to the system. Multiple Java Development Kit builds are available for download and installation.
🌐
Oracle
docs.oracle.com › javase › 8 › docs › technotes › guides › install › mac_jdk.html
JDK 8 Installation for macOS
April 21, 2026 - Please visit https://www.oracle.com/javase/javafx for more information. The JDK supports both Intel-based (x64) and Apple Silicon (AArch64) Mac computers. ... For supported processors and browsers, see Oracle JDK 8 and JRE 8 Certified System Configurations. Note: Installing the JDK also installs ...
🌐
MacPaw
macpaw.com › how to › optimization › apps
How to install Java on your Mac
August 19, 2025 - On the next page, click Download Java. When the DMG file has downloaded, double-click it to open it. Double-click the pkg file to begin the installation. Click Install. When the installation has finished, click Close. If you use your Mac for work, like developing Java applications, it’s important to keep it running smoothly and take steps to prevent problems from occurring.
🌐
Mac Install Guide
mac.install.guide › java
Java on Mac · Mac Install Guide · 2026
Homebrew (the Mac software package manager) is the fastest way to install Java on Mac. Use one command to download, install, and configure Java. Homebrew offers two methods: casks use the standard macOS location and work immediately; formulas ...
🌐
OS X Daily
osxdaily.com › home › how to install java on mac with m3, m2, m1 apple silicon chip
How to Install Java on Mac with M3, M2, M1 Apple Silicon Chip - OS X Daily
June 3, 2024 - For an Apple Silicon (M1, M2, M3, etc) Mac, choose the “ARM64 DMG Installer” download (Intel Mac users can use the X64 download, but we’re focusing on Apple Silicon here) After the DMG file has downloaded, mount the DMG file as usual and then click on the pkg installer to begin installation of Java on the Mac
🌐
Medium
tejaksha-k.medium.com › a-step-by-step-guide-to-installing-java-on-macos-5188bfdf99d7
A Step-by-Step Guide to Installing Java on macOS | by Tejaksha K | Medium
July 29, 2024 - ... Once the JDK package is downloaded, locate the .dmg file, and double-click to open it. This will mount the disk image, and you will see the JDK package inside. Install JDK: Double-click the JDK package icon to start the installation process.
🌐
Java With Us
javawithus.com › home › faq › how to download java on mac: official sources
How to Download Java on Mac: Official Sources | Java With Us
April 21, 2026 - Download Java on Mac from an official source: adoptium.net (Temurin), Homebrew, or Amazon Corretto. Pick the architecture that matches your Mac: aarch64 for Apple Silicon (M1/M2/M3/M4), x64 for Intel. ... Homebrew automatically picks the right architecture. After install, run the symlink command ...
Top answer
1 of 3
1

I tested this answer using a clean install of High Sierra 10.13.6. All updates from Apple were installed.

The downloads of the JDKs can be found at Java Downloads. I could not correctly view this site using Safari under High Sierra. Instead, I installed and used Firefox ESR (Extend Support Release). This link for Firefox download can be successfull viewed from Safari. The file I downloaded and installed was Firefox 115.16.1esr.dmg.

I tried JDK 23 by downloading and installing jdk-23_macos-x64_bin.dmg. This was not recognized by Java. Next, I tried JDK 21 by downloading and installing jdk-21_macos-x64_bin.dmg. This was recognized by Java.

Instructions for uninstalling a JDK can be found here. Personally, I just used the Finder to move the /Library/Java/JavaVirtualMachines/jdk-23.jdk folder to the Trash.

I tested by using the simple code given below. The code was stored in the file named Simple.java.

class Simple{  
    public static void main(String args[]){  
     System.out.println("Hello Java");  
    }  
}

Example of testing is given below.

dmas-Mac:Desktop dma$ javac Simple.java 
dmas-Mac:Desktop dma$ java Simple
Hello Java

BTW, I tested JDK 23 using macOS Monterey and did not encounter the problems that occurred with High Sierra.

2 of 3
0

I've successfully installed Java 21 from Microsoft on High Sierra.

$ java --version
openjdk 21.0.8 2025-07-15 LTS
OpenJDK Runtime Environment Microsoft-11933195 (build 21.0.8+9-LTS)
OpenJDK 64-Bit Server VM Microsoft-11933195 (build 21.0.8+9-LTS, mixed mode, sharing)

Java 25 has the some issue as mentioned above. It looks like the jdks have been build with a dependency to "chkstk_darwin" which ist not available in High Sierra.

🌐
Oracle
java.com › en › download › help › mac_10_10.html
How do I install Java on Mac OS X 10.10?
Starting with Java 8 Update 25 (8u25), download and install Java 8 from java.com. A bug was fixed in 8u20 which had prevented the installation of prior releases of Java on Mac OS X 10.10.
🌐
Oracle
docs.oracle.com › javase › 10 › install › installation-jdk-and-jre-macos.htm
8 Installation of the JDK and the JRE on macOS
You can download the latest version of Java from Java SE Downloads, which has improved security, reliability, and compatibility. If you prefer to continue using Apple's Java 6 plug-in, follow the steps provided in the Java for OS X 2014-001 topic at the Apple Developer site.
🌐
Apple Support
support.apple.com › en-us › 106384
Download Java for OS X 2017-001 - Apple Support
Java for macOS 2017-001 installs the legacy Java 6 runtime for macOS 10.13 High Sierra, macOS 10.12 Sierra, macOS 10.11 El Capitan, macOS 10.10 Yosemite, macOS 10.9 Mavericks, macOS 10.8 Mountain Lion, and macOS 10.7 Lion.