How to install Java on macOS Sonoma?
How do I install java runtime in MacOS Sonoma
[Re-Titled By Moderator]
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
How do I install java runtime in MacOS Sonoma
[Re-Titled By Moderator]
At Java.com there is a link "If you are running on an M series system (ARM64), download the ARM64 version of the JRE ." Today that downloads Java 8 update 391. When I first tried installing Java runtime on my new MacBook Pro M3 Pro shipped December, 2023, now running Sonoma 14.2.1, it failed. The installer app started, requested my password, showed "installing", then reported "failed to install", "OS error code 1". Today I re-downloaded the installer and tried again. It was still 8u391, but this time it succeeded, and I've confirmed running a .jar application. Not sure why it failed the first time. Try, try again?
At Java.com there is a link "If you are running on an M series system (ARM64), download the ARM64 version of the JRE ." Today that downloads Java 8 update 391. When I first tried installing Java runtime on my new MacBook Pro M3 Pro shipped December, 2023, now running Sonoma 14.2.1, it failed. The installer app started, requested my password, showed "installing", then reported "failed to install", "OS error code 1". Today I re-downloaded the installer and tried again. It was still 8u391, but this time it succeeded, and I've confirmed running a .jar application. Not sure why it failed the first time. Try, try again?
While it seems intuitive to recommend installing Java from Java.com, that site is going to recommend Oracle's Java 8 (which is still being supported). It hasn't been updated to newer LTS ("Long Term Support") versions. Oracle assumes that developers will be following their platform guidelines and packaging their own JREs with jpackage.
That's turned out to be incorrect for many users/developers, so if you need Java newer than 2014, this is the reference site for OpenJDK, which will allow you to install a more recent JDK.
I forgot to mention that before I tried running the installer for the second time, I first tried the Uninstall option of the JRE installer. It reported that it found no Java to uninstall. Possibly running Uninstall before Install makes a difference?
Hi. I have MacBook Pro M2 Pro Sonoma 14.9. I downloaded the jre-8u401-macosx-aarch64.dmg file from the link in the https://www.java.com/it/download/apple.jsp and the installation looks fine. The only problem is that I am not able to locate the Java control Panel in the Sonoma OS ... Can you pls help ? Thanks
smtips wrote:
Wonder why that link has a page that's in a language I can't read? It is not in English
? quoting the source would take some guess work out of your reference...
if this is it
re: https://www.java.com/it/download/apple.jsp
—so change the Italian to en
https://www.java.com/en/download/apple.jsp
—or use the translator built into Safari ...
—or use the goole translator ...
Odd that the Terminal tool requires a java runtime app to be installed, in order to run commands like 'apt update'. Why have this tool available if it's not fully functional?
apt isn’t Unix, it is Linux. macOS is based on Unix, not Linux.
Thanks for that reminder! I'm no java expert but I see that there are several executables in the /usr/bin/java folder here, but of course no handy man page.
They only exist to run an installed java runtime. They are not java.
What is it you are trying to do?
The Java control panel was deprecated in Java 9 and removed in Java 11.
If you have a modern version of Java (21 is the latest Long Term Support (LTS) release), you won't have it and don't need it (according to Java).
I have a MacBook Air M1 with Sonoma 14.1. My toolbar keeps popping up with a reminder to update JAVA. Using the <system settings> (under the Apple icon) I entered Java in the search box. A single Java icon appears > About tab shows current version >
Upgrade tab says I have the latest Java version 8 update 401 so it appears I'm in good shape. Thanks for the info. Ray
it works for many people, so you might want to investigate if you’ve skipped some steps in configuring it.
It’s the best known path for installing any Java beyond Oracle’s Java 8, which is at this point pretty old.
it’s been a while since I installed it (that was a link to Java 17 back then).
perhaps you can go to the music server community for your app and get help setting up Java once it’s installed.
rafael215 wrote:
How do I install java runtime in MacOS Sonoma
http://www.java.com for information on installing Java.
Odd that the Terminal tool requires a java runtime app to be installed, in order to run commands like 'apt update'. Why have this tool available if it's not fully functional?
Thanks for that reminder! I'm no java expert but I see that there are several executables in the /usr/bin/java folder here, but of course no handy man page.
Barney-15E wrote:
What is it you are trying to do?
You should address that to the OP.
The OP wanted to install Java and that was already answered. I have no idea why you have posted here. Nothing you have said has anything to do with installing Java.
How to install Java on macOS Sonoma?