Avoiding Java Security Exception Due to Mixed Code

I have an applet that is present in a signed bank. This applet uses another third-party jar file, which is unsigned. When I run the applet, I get a warning about mixed code that I want to avoid.

To solve this problem, I added "Trusted-Library: true" to the unsigned jar used by my applet.

But it still throws a SecurityException . I tried this with JRE update 20, but the problem remains.

Can someone please help me with this? How to avoid getting a warning message when I need to use an unsigned jar.

Thanks!

+4
source share
1 answer

Use your toolchain to sign a third-party JAR using your key.

+2
source

All Articles