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.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

"Unable to Load Jawa Runtime Environment" Even Though I Downloaded Java

I'm not exactly tech-savvy so please bear with me guys. I have a MacBook Pro M1 2020 and it uses macOS Monterey 12.2.1. I needed to download a program that requires Java so I managed to download Java 20 by following the instructions. However, the program still doesn't work and I get the pop-up "Unable to load Java runtime environment" each time I try to start it. I don't know where I went wrong or whether this problem is caused by a bug in the program itself or not. I opened my Terminal and then I typed "java --version" it says:

java 20.0.2 2023-07-18


Java(TM) SE Runtime Environment (build 20.0.2+9-78)


Java HotSpot(TM) 64-Bit Server VM (build 20.0.2+9-78, mixed mode, sharing)


This means I downloaded it, right? Then what could be the issue? Perhaps, this version of the Java is incompatible with macOS Monterey? Because I know there is a newer software update called macOS Ventura. I'm about to lose my mind. I would greatly appreciate it if you could help me with this.

Ecenaz MacBook Pro

Posted on Aug 1, 2023 5:35 AM

Reply
8 replies

Aug 1, 2023 2:55 PM in response to ecenaz

For some time now, Java is not (pre-)installed anymore, let’s fix that. As I’m writing this, Java 17.0.3 is the latest LTS (Long Term Support) version and Adoptium is one of the best places to find Prebuilt OpenJDK Binaries.

Adoptium was known as AdoptOpenJDK, before the project was moved to the Eclipse Foundation. All available versions for supported platforms can be found here.

If you are already using Homebrew then the easiest way to get the JDK on to your Mac might be this:

$brew install --cask temurin

# Install a specific version
$brew tap homebrew/cask-versions
$brew install --cask temurin8
$brew install --cask temurin11

# Uninstall a specific version
$brew uninstall --cask temurin

Otherwise, the easiest way is to select macOS x64 and OpenJDK 17 (LTS), download and install the pkg file.

"Unable to Load Jawa Runtime Environment" Even Though I Downloaded Java

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