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
Exception in thread "main" com.oracle.svm.core.jdk.UnsupportedFeatureError: Trying to verify a provider that was not registered at build time: BC version 1.69. All providers must be registered and verified in the Native Image builder.
#1
Open
insinfo opened this issue
Apr 19, 2022
· 2 comments
I compiled a project with bouncycastle ma when I run the project throws this exception
C:\MyJavaProjects\java_native>C:\MyJavaProjects\java_native\app\build\native\nativeBuild\Example.exeException in thread "main" com.oracle.svm.core.jdk.UnsupportedFeatureError: Trying to verify a provider that was not registered at build time: BC version 1.69. All providers must be registered and verified in the Native Image builder. at com.oracle.svm.core.util.VMError.unsupportedFeature(VMError.java:89) at javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:403) at javax.crypto.JceSecurity.getInstance(JceSecurity.java:140) at javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:280) at net.schmizz.sshj.common.SecurityUtils.registerSecurityProvider(SecurityUtils.java:94) at net.schmizz.sshj.common.SecurityUtils.register(SecurityUtils.java:280) at net.schmizz.sshj.common.SecurityUtils.isBouncyCastleRegistered(SecurityUtils.java:251) at net.schmizz.sshj.DefaultConfig.<init>(DefaultConfig.java:78) at net.schmizz.sshj.SSHClient.<init>(SSHClient.java:131) at demo.SshjExample.init(SshjExample.java:22) at demo.Example.main(Example.java:25)C:\MyJavaProjects\java_native>
The text was updated successfully, but these errors were encountered:
@r1cky33 It's been a long time since I really don't remember how I dealt with it in Java, but from what I remember I think I ended up redoing the application using dart/flutter
I compiled a project with bouncycastle ma when I run the project throws this exception
The text was updated successfully, but these errors were encountered: