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
I haven't encountered any problems with this so far, but I know that I did need to set "jniVersion": 8 in my config.json. For people upgrading to newer JVMs, if you are encountering issues with JNI, you might want to investigate here.
The text was updated successfully, but these errors were encountered:
I originally needed to set it for Oracle JRE 8, and I am now using that same flag for AdoptOpenJdk 11, and it is working fine. I think most of my dependencies so far are still compiled to run against JRE 8, but I'm not sure. Perhaps the trouble won't come until those dependencies start requiring/compiling-against Java 11+?
It appears that packr currently supports only JNI Version 6 and 8
packr/PackrLauncher/src/main/cpp/packr.cpp
Lines 582 to 590 in 9c9bb9d
packr/PackrLauncher/src/main/headers/packr.h
Lines 23 to 25 in 9c9bb9d
But there are now two newer versions (link). JNI_VERSION_10 is used for Java 10 through to at least 17.
I haven't encountered any problems with this so far, but I know that I did need to set
"jniVersion": 8
in myconfig.json
. For people upgrading to newer JVMs, if you are encountering issues with JNI, you might want to investigate here.The text was updated successfully, but these errors were encountered: