+java -jar jna.jar
+
+
+This will need to be modified to:
+
+
+java --enable-native-access=ALL-UNNAMED -jar jna.jar
+
+
+If JNA is loaded from the modulepath
+
+
+java -p jna-jpms.jar -m com.sun.jna
+
+
+That will need to be modified to:
+
+
+java --enable-native-access=com.sun.jna -p jna-jpms.jar -m com.sun.jna
+
+
+For executable JARs the manifest attribute Enable-Native-Access can
+be set to the value ALL-UNNAMED to enable native access for this
+case.
+
+How these changes are applied to the concrete project is highly dependending on
+the setup of that project and thus no general advise can be presented here.
+
+More information can be found on the page describing JEP 472: Prepare to Restrict
+the Use of JNI
+
Top