Hi, I need to open a dot jar app and it keeps showing this message:
Operation can't be completed, . Unable to locate a Java Runtime.
I have downloaded the last java installation, have installed it like 10 times, , and it is supposed to have a java control center or icon under the macOS settings menu, but there is no such thing, so I think that java is not installing after all, or any suggestions?
I'm running macOS Monterey and
Comments
Are you installing from java.com?
Are you installing it from this link?
https://java.com/en/download/
Same
I’m getting the same error, some backstory, I’ve been trying to get an accessibility mod for Minecraft, I found it, when I was installing it, it gives me the same error, I’ve also tried installing on windows, but Minecraft does not work properly, it keeps loading, anyway, I’m getting the same error, it might be a bug?
Follow up
It seems like the error is, unable to locate the Java runtime on your system, please get help from, then it inserts a link to the Java website.
Terminal command
If you run in Terminal:
"which java"
(without the quotes)
what do you get?
not sure but
well after typing that phrase, not sure if this is it but VoiceOver reads this:
/usr/bin/java
anas-air:~ kara$
Wonderful story
Does not the extension association option (in this case .jar) exist on mac?
This option exists on windows.
Cheers!
Which java
I get the same.
If you try to do what Zeirus mentioned,
1. Select the .jar file
2. Click Get Info
3. Select JavaLauncher
Can you try Adoptium
Adoptium is an app featured here:
http://mrraow.com/index.php/aiai-home/aiai/
A very well known app to play board games
It helped me successfully run a new java version and run the AiAi program mentioned above
Direct link to download:
https://adoptium.net/releases.html
List of games included in AiAi:
https://boardgamegeek.com/geeklist/254198/games-stephen-taveners-aiai-program