How to avoid Java security exception due to mixed code
I have an applet which is present in a signed jar. This applet uses another 3rd party jar file which is unsigned. On launching the applet I get the Mixed code warning which I want to avoid.
To solve this issue, I added "Trusted-Library: true" to the unsigned jar which is being used by my applet.
But, it still throws Se开发者_如何学JAVAcurityException
. I tried this with JRE update 20 as well but problem persists.
Can someone please help me with this? How to avoid getting the warning message when I have to use an unsigned jar.
Thanks!
Use your tool chain to sign the 3rd party JAR with your key.
精彩评论