You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Java.Runtime.Environment] Use libjli.dylib on macOS, not libjvm.dylib (#198)
If you don't have the legacy Java 6 installed on macOS, then calling
`JNI_CreateJavaVM()` will result in a popup requesting you to install
the legacy Java 6 VM then abort, *even if* you call the
`libjvm.dylib` that's included as part of JDK8:
**To open "this Java application" you need to install the legacy Java SE 6 runtime.**
Click "More Info..." to visit the legacy Java SE 6 download website.
[More Info...] [OK]
This is due to a [Java 8 bug][jdk7131356], and a
[suggested solution][jdkfix] is to instead use `libjli.dylib`.
[jdk7131356]: https://bugs.openjdk.java.net/browse/JDK-7131356
[jdkfix]: jpype-project/jpype#160
Update `JdkInfo.props` so that `$(JdkJvmPath)` uses `libjli.dylib`
instead of `libjvm.dylib`, removing the above warning dialog.
0 commit comments