The Answer

You can update Java by downloading the newer version from Oracle directly When you install the installer would delete the older version for you.


The OLD Answer (no longer works)

Or you Mac has built in system that would fetch and update java from Oracle for you for you. Go to System Preference > Java > Update > Update Now. It would also be a good idea to turn on "Check for Updates Automatically" that way when a newer version of Java comes out your Mac would ask you to install it and it becomes a simple one click install.

Answer from OLIVER.KOO on Stack Overflow
🌐
Oracle
java.com › en › download › help › mac_java_update.html
How do I Update Java for my Mac?
Go to the Update tab in Java Control Panel and click on Update Now button that brings up Installer window.
Discussions

How to update my installed Java version? The “install now” button doesn’t do anything.
Today I received a notification from my MacUpdater that there is a new Java version. I didn’t even know that this on my Mac. I can get to the control panel in the screenshot saying the same, but when I click on “update now” nothing happens (I guess some kind of installer should pop up). What should I do? More on reddit.com
🌐 r/MacOS
4
8
April 16, 2023
macos - Java Update not working on Macbook - Ask Different
Stack Exchange network consists ... trusted online community for developers to learn, share their knowledge, and build their careers. Visit Stack Exchange · The 2026 Annual Developer Survey is live— take the Survey today!. ... Bring the best of human thought and AI automation together at your work. Explore Stack Internal ... I have a Macbook Pro with running OS 12.6. ... Since I'm running applications which require a higher Java version (jEdit for instance), I want to update ... More on apple.stackexchange.com
🌐 apple.stackexchange.com
April 16, 2023
Latest Java update for Mac includes setting your homepage to Yahoo by default

Just as a quick update: It looks like it'll be possible to disable this for future updates under the Java Control Panel (found under System Preferences > Java). Choose the Advanced tab, then check "Suppress sponsor offers when installing or updating Java".

http://i.imgur.com/3Z0u4nX.png

More on reddit.com
🌐 r/apple
22
0
November 26, 2015
What is the best way to install Java with OS X?
not at all or directly from oracle More on reddit.com
🌐 r/osx
8
2
October 31, 2015
🌐
Mac Install Guide
mac.install.guide › java › update
Update Java on Mac · Mac Install Guide · 2026
Depending on how you installed Java, there are four or more likely locations for Java and different commands needed to update Java. Brew Install Java - Easy Cask Method — Update with brew upgrade --cask temurin@21 (or your installed cask name). The Homebrew cask method installs a JDK using a symlink so that it appears under /Library/Java/JavaVirtualMachines/temurin-25.jdk/, the standard Java location on macOS.
🌐
Oracle
java.com › en › download › help › java_mac.html
Installing and using Oracle Java on macOS
Upgrading to the latest version of Java ensures that Java applications will run with the most up-to-date security and performance improvements on your system. If installing an older version of Java is absolutely required, you must first uninstall the current version. See the instructions at Mac uninstall Java FAQ. Why will applets not run after getting Java through Apple Software Update?
🌐
Medium
medium.com › @anuragchitti1103 › update-java-jdk-version-for-mac-silicon-f0df6b3d1cb7
Update Java JDK version for MAC Silicon - Anurag Chitti - Medium
February 29, 2024 - Here are a few simple steps for updating the JDK version using HomeBrew. ... sudo ln -sfn /opt/homebrew/opt/openjdk\@17/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk · Now, running /usr/libexec/java_home -V should show the path to JAVA 17, something like:
🌐
JavaForge
javaforge.com › home › how to update java on macos
Update Java on MacOS: Complete How-To Guide - JavaForge
March 28, 2024 - On MacOS, update settings are located under System Preferences > Java > Update, allowing users to manage update preferences directly.
🌐
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. 2. Double-click the .dmg file to launch it · 3. A dialog box with Java 8 Update 311.app reference will appear · 4. Double-click on the .app icon to launch install Wizard.
Find elsewhere
🌐
javathinking
javathinking.com › blog › what-is-the-best-way-to-update-java-version-on-mac-computer
How to Update Java Version on Mac: Best Methods (Brew, Web, & Alternatives) — javathinking.com
Fix: Use brew link (Homebrew), sdk use (SDKMAN!), or export JAVA_HOME to set the active version. Fix: Run commands with sudo (e.g., sudo brew install openjdk), or check file permissions with ls -l /Library/Java/JavaVirtualMachines.
🌐
Mac Install Guide
mac.install.guide › java
Java on Mac · Mac Install Guide · 2026
# Check Java version $ java -version # Check compiler version $ javac -version # List all installed JDKs $ /usr/libexec/java_home -V # Check JAVA_HOME $ echo $JAVA_HOME # Install Java via Homebrew (recommended) $ brew install --cask temurin@25 # Update Java via Homebrew $ brew upgrade --cask temurin@25 · /Library/Java/JavaVirtualMachines/ – Standard JDK installation directory · /usr/libexec/java_home – macOS utility for finding JDKs · ~/.zprofile – Shell configuration for JAVA_HOME and PATH · /opt/homebrew/ – Homebrew directory on Apple Silicon ... Most developers should begin with Install Java on Mac or Brew Install Java - Cask Method for the fastest path to a working installation.
🌐
Xcitium
xcitium.com › blog › news › how-to-update-java
How to Update Java on Windows, Mac and Linux
February 23, 2026 - Open the Start menu and search for Configure Java. Go to the Update tab. Click Update Now. Follow on-screen instructions to install the latest version.
🌐
Reddit
reddit.com › r/macos › how to update my installed java version? the “install now” button doesn’t do anything.
r/MacOS on Reddit: How to update my installed Java version? The “install now” button doesn’t do anything.
April 16, 2023 - But if you really want to manage Java versions on your machine then I’d suggest using homebrew with the “temurin” distribution: https://formulae.brew.sh/cask/temurin ... No idea. How could I know which app is using that? I also don’t really remember installing it myself, unless I did it during the initial setup years ago for some reason. ... Failed to personalize the software update.
🌐
Apple Support
support.apple.com › en-us › 106567
Java for Mac OS X 10.6 Update 17 - Apple Support
Java for Mac OS X 10.6 Update 17 delivers improved security, reliability, and compatibility by updating Java SE 6 to 1.6.0_65.
🌐
Mac Install Guide
mac.install.guide › java › new
Java Latest Version · Mac Install Guide · 2026
Read Install Java 21 on Mac if your course requires Java 21. Your project may specify Java 21, 17, 11, or even Java 8. Use what the project requires. If you're joining a software engineering team or working on an existing codebase, check your project's build configuration (pom.xml for Maven, build.gradle for Gradle) or ask your team lead. Wait for your team to complete the migration before upgrading to Java 25. Updating the Java version affects the entire codebase and CI/CD pipeline.
🌐
JanBask Training
janbasktraining.com › community › java › how-do-i-update-java-mac-terminal
How do I update java Mac terminal? | JanBask Training Community
October 12, 2022 - Download: cd ~/Downloads curl -v ... Mount: hdiutil attach jre-8u112-macosx-x64.dmg Install: sudo installer -pkg /Volumes/Java 8 Update 112/Java 8 Update 112.app/Contents/Resources/JavaAppletPlugin.pkg -target / Clean-up: ...
🌐
Snyk
snyk.io › blog › installing-and-managing-java-on-macos
Installing and managing Java on macOS | Snyk
October 12, 2023 - This page also includes a Java Archive section for finding specific older versions. Select the Java version that meets your requirements, download the macOS installer as a DMG file, and double-click to run it. Follow the prompts to install Java ...
🌐
Java With Us
javawithus.com › home › faq › how to update java on windows, mac and linux
How to Update Java on Windows, Mac and Linux | Java With Us
April 21, 2026 - Update Java by re-running the vendor installer or using your package manager. winget, brew upgrade, apt upgrade — full steps for all platforms.
🌐
Bell Software
bell-sw.com › blog › updating-the-java-version
How to update Java: A comprehensive guide
September 5, 2024 - To update Java on macOS, you can download the .dmg, .pkg, .tar.gz, or .zip package:
🌐
Besu-eth
docs.besu-eth.org › how to › install and update java
Install and update Java | Besu documentation
2 weeks ago - You might need to update your environment to make Java visible to Besu. Edit the .bashrc file in your home directory (or create it if needed) and add the following lines to the end of the file: ... You should see the JDK versions output. You can install OpenJDK on MacOS using Homebrew.
🌐
Oracle
java.com › en › download › apple.jsp
Java for Mac
» Java 是什么 » 删除旧版本 » Mac 常见问题 » 安全性 » Support » 其他帮助 · 此下载用于帮助那些需要使用 Java 在台式机和笔记本电脑上运行应用程序的最终用户。Java 8 与操作系统集成在一起以运行单独安装的 Java ...