PKCS11 Java 11 [message #1849737] |
Mon, 31 January 2022 11:59 |
Eclipse User |
|
|
|
Hello,
I have written a plugin that works fine with Eclipse Neon and Java 8.
I have migrated to Eclipse 2021-12 and JAVA 11 and imported the plugin.
To recompile my plugin, I configured it for Java 11,. In the build path, I added 2 modules jdk.crypto.cryptoki and jdk.crypto.cryptoki.ec and I exposed sun packages.
The plugin runs fine in the IDE but after exporting it as product, I got errors about unavailability of sun packages.
I added
add-modules=ALL-SYSTEM --add-exports=jdk.crypto.cryptoki/sun.security.pkcs11=ALL_UNAMED --add-exports=jdk.crypto.cryptoki/sun.security.pkcs11.wrapper=ALL_UNAMED in the ini file but I still got the same error.
Any idea ?
|
|
|
Powered by
FUDForum. Page generated in 0.03050 seconds