Closed ahelwer closed 1 year ago
IIRC the JVM has to be found under /Library/Java/JavaVirtualMachines/
:
sudo ln -sfn /opt/homebrew/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
Unfortunately I believe the macOS system integrity protection feature keeps you from doing that.
Perhaps not, according to https://support.apple.com/en-us/HT204899 the /Library
directory is okay; I will try that.
Okay that did seem to work. I don't know whether this closes the issue, or perhaps it will just be superseded because 1.4.5 is a bit old now.
Great if that worked. The Isabelle error message about not finding a Java runtime can be ignored, the prover works without Java. Also, as you say, the distribution is old and the version of Isabelle that it relies on is ancient. I ported the theories to the current Isabelle version, and I believe that the issue will disappear.
Here is the output when I try to install https://tla.msr-inria.inria.fr/tlaps/dist/1.4.5/tlaps-1.4.5-i386-darwin-inst.bin on macOS:
I installed Java with homebrew, so
which java
outputs:Did the install succeed? If not, what environment variable do I need to set so the installer can find the java installation?