Yes, doing that would have been the easy fix, but the legacy Java SE 6 runtime is old, with many known security exploits, and I already have the latest JDK8 installed, why can't I just use that?
This process was not as straightforward as expected, but easy enough, explained at http://stackoverflow.com/a/19594116:
- Make sure Java is up to date.
- Edit the Info.plist file (I did this via command line):
- sudo vi /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Info.plist
- In the "JVMCapabilities" array, make sure it has the three following entries:
-
JNI
BundledApp
CommandLine - Link a dynamic library:
- sudo mkdir -p /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bundle/Libraries/
- sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/server/libjvm.dylib /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bundle/Libraries/libserver.dylib
- Reboot.
No comments:
Post a Comment