I've just upgraded JRE to 7u45, and my applet receives a warning message on start-up, saying "
This application will be blocked in a future Java security update because the JAR file manifest does not contain the Permissions attribute." Then I added the following two attributes to the manifest of my applet Jar file (self-signed):
Permissions: all-permissions
Codebase: *
However the warning message didn't disappear. I doubt that I'm missing some other things, but can't find them out after hours of research. Anybody else knows the solution?
Update
Trusted applet that is signed with a valid certificate can't run either. The yellow warning message doesn't show up but another error dialog is displayed saying the applet is blocked by the security settings, while changing the security level or something else in Java Control Panel doesn't help.
解决方案
I have the same problem.
I test it with a explicit codebase, but the warning "Missing Permissions manifest attribute" it continues appearing.
Also tried changing permissions to "sandbox", the message still appearing but the applet don't have privileges to execute some functions.
Edit:
Finally I've found the solution:
manifest.mf
Manifest-Version: 1.0
Codebase: *
Permissions: all-permissions
Application-Library-Allowable-Codebase: *
Caller-Allowable-Codebase: *
Application-Name: AppName
Created-By: AppCreator
I hope this help you.