Unable to load Java Runtime Environment.

I have Macbook M2 MacOS Sonoma 14.1.1

I downloaded java, but when opening a program it gives the following error: Unable to load Java Runtime Environment.

How can I solve it?

Thank you.




MacBook Air, macOS 14.1

Posted on Nov 30, 2023 9:28 AM

Reply
6 replies

Nov 30, 2023 9:34 AM in response to nslhnozryldz

nslhnozryldz wrote:

I have Macbook M2 MacOS Sonoma 14.1.1
I downloaded java, but when opening a program it gives the following error: Unable to load Java Runtime Environment.
How can I solve it?
Thank you.



Here are the system requirements and instructions for installing the JDK and JRE on Macs:

https://docs.oracle.com/javase/9/install/installation-jdk-and-jre-macos.htm#JSJIG-GUID-E8A251B6-D9A9-4276-ABC8-CC0DAD62EA33

Dec 4, 2023 2:35 PM in response to nslhnozryldz

For assistance with Oracle Java, please check with the vendor, Oracle.


For the current Oracle Java downloads for macOS, start here:

https://www.oracle.com/java/technologies/downloads/#jdk21-mac


The Arm download for macOS is available there.


There is a JRE for a very old Oracle Java version that’s been (re)built for Arm linked here:

https://www.java.com/en/download/


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unable to load Java Runtime Environment.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.