gerasimou / EvoChecker

EvoChecker
GNU General Public License v2.0
4 stars 3 forks source link

OSX linking Java Applications to PRISM #1

Closed gerasimou closed 3 years ago

gerasimou commented 6 years ago

OS X sanitizes the environment variables, in particular DYLD_LIBRARY_PATH for binaries that are executed from 'system' directories. So, for example, simply running java will likely start the binary in /usr/bin.

gerasimou commented 6 years ago

The solution is to extract the java directory using PRISM_JAVA=/usr/libexec/java_home"/bin/java"

gerasimou commented 6 years ago

Check https://groups.google.com/forum/#!topic/prismmodelchecker/DHXhZcaxzY0 and https://github.com/prismmodelchecker/prism/commit/cd4e8cba19519eee26bb9b4169d60a66bd28b2fc#diff-b99df3172e000e2c6781c4ea90a921dd