Prism can't detect java (openjdk)

Prism used to just work but it seems something broke since the last time I played minecraft. I can't seem to get it to detect openjdk (installed via brew). I would rather not use the option "Auto-download Mojang Java" within Prism as it often results in worse performance. I did a system upgrade and rebooted then ran the commands below.

When I run java -version in a terminal I get:
openjdk version "22.0.2" 2024-07-16
OpenJDK Runtime Environment Homebrew (build 22.0.2)
OpenJDK 64-Bit Server VM Homebrew (build 22.0.2, mixed mode, sharing)

When I run command -v java I get:
/home/linuxbrew/.linuxbrew/bin/java


I ran brew unlink openjdk && brew link openjdk and everything linked fine.

I'm unable to get prism to detect java even when I manually search for it. Any help would be appreciated.
Solution
not openjdk actually
image.png
Was this page helpful?