Closed ahelwer closed 1 year ago
The prism
launch script on Macs tries to locate the actual location of the java
executable to avoid issues with shared libraries and symbolic links. If that is not working with your openjdk setup, you can specify its location with the environment variable PRISM_JAVA
(or hard-code it in the script).
Thanks @davexparker! If I define PRISM_JAVA
then try to run prism
from the command line I now get the error java.lang.UnsatisfiedLinkError: no prism in java.library.path: ~/prism-4.7-osx64/lib
You'll get that error if you are on a ARM-based Mac since the 4.7 binary is still built for Intel Macs. Compiling from source would fix it.
Thanks @davexparker, that worked great! Do you think PRISM will ever get a wayland version? I actually also noticed the FAQ says you need to use Oracle's version of Java, but it seems to work okay with Adopt OpenJDK so far.
I am trying to run PRISM on MacOS but am getting the following error:
If I run
which java
I get/opt/homebrew/opt/openjdk/bin/java
since I installed openjdk with homebrew. What environment variable do I need to set to get PRISM to look for Java there? It unfortunately isn't viable to use symlinks to redirect/bin/java
to that location due to the MacOS system integrity protection feature.