Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » PKCS11 Java 11(Access to modules from RCP plugin)
PKCS11 Java 11 [message #1849737] Mon, 31 January 2022 16:59
Jean-Pascal Laux is currently offline Jean-Pascal LauxFriend
Messages: 81
Registered: December 2011
Member
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 ?
Previous Topic:--add-opens in INI file not correctly used by launcher?
Next Topic:Config Data Location of RCP Application
Goto Forum:
  


Current Time: Tue May 28 14:04:58 GMT 2024

Powered by FUDForum. Page generated in 0.02981 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top