DEV Community

Discussion on: MacOS users, Java problems in Big Sur? HELP

Collapse
 
glebremniov profile image
Gleb Remniov

I use sdkman to manage my JDKs and other java-related stuff. It works pretty good even on MacOS Big Sur. I would recommend it.

Collapse
 
mmesnjak profile image
mmesnjak • Edited

I also use sdkman, but I can not start jnlp files using javaws (although it is on the PATH and can be called without full path) because /usr/libexec/java_home refuses to recognize my java installation:

> /usr/libexec/java_home

The operation couldn’t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java.
Enter fullscreen mode Exit fullscreen mode

Any pointers how to solve that? (Big Sur 11.5.2, AdoptOpenJDK 11.0.11)

Collapse
 
pyrogo profile image
Valeriano Piromalli

Thanks. It fixed the issue when using Intellij.