mixed-code

Permissions error for a signed Java applet when including external JAR files

I have a signed Java applet. And it works fine. But now I have to integrate some 3rd party JAR files with it. When I test it from Eclipse, the whole thing works correctly. But when I test it as an applet, it gives me a java.security.AccessControlException: access denied (java.io.FilePermission ...) I thought this was because those 3rd p...

Why does Java tell me my applet contains both signed and unsigned code?

My signed Java applet has been running fine until Java update 19. Now some but not all of our users on Java Update 19 report a java security message stating that our applet contains both signed and unsigned code. The process for creating our applet is as follows: 1: Clean and Build the applet project in Netbeans IDE. 2: Open the Apple...

How to avoid Java security exception due to mixed code

Hi, 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 SecurityExcept...

Help with understanding jstack output

I have a desktop Java/Swing application which is deployed via Java Webstart (clients are using Java 6u20 on XP). I have received intermittent reports from users of the application hanging. I managed to log on to such a system during a hang found that the UI was not being drawn (as though EDT was blocked). I used jstack to list the thre...

JNLPAppletLauncher can't find subApplet class name since Java update 21

Hello Tom, Since JRE version 1.6.0_21-b07 org.jdesktop.applet.util.JNLPAppletLauncher can't find the class contained in the parameter subapplet.classname anymore. In https://applet-launcher.dev.java.net/source/browse/applet-launcher/trunk/src/org/jdesktop/applet/util/JNLPAppletLauncher.java?rev=41&view=log your name appears in revis...

signed applet throws security warning, but runs if yes button if clicked.

I have a signed applet that builds a menu from an xml file. When it loads I get the java security warning regarding signed and unsigned code. The applet uses jdom.jar It doesn't matter if I hit yes on the security warning dialog box to block the unsigned code, or if I click no, the applet launches and runs as expected. I have found...