- install homebrew - https://brew.sh
brew install openjdk
sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
(check `brew info openjdk` if that's still the correct command)
- Check java runs
java -version
-
Open the SPSS version 26 DMG and run the installer app
-
Wait for it to open a dialog box with something like "Allow app (null) to run on this machine", hit yes on everything
-
Once you see a "Attemtped to open libjvm.dylib but not signed by a verified developer", leave the dialog on screen (Don't click "Bin")
-
We need to find where the installer has unpacked the files it uses, find them using
lsof
as rootGrab root and figure out where the installer has unpacked itself
sudo -s
lsof | grep libjdk
-
Go mark files as quaratined so installer runs okay
The path for libjvm.dylib needs
/server/libjvm.dylib
stripping from the end, then go to that folder and strip the quarantine attribute from all files in there so Gatekeeper shuts the fuck up.
cd /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/IA602780689/IA602780689/jre/lib/
find . -type f -print0 | xargs -0 xattr -d com.apple.quarantine
- In theory the installer should now just continue, possibly need to click "cancel" on the original "libjvm.dylib not signed" dialog.