So the java applets on my website stop working. I try updating browsers on all my computers (mac and windows), still the problem persists. Then as I did more research, I learn that I have to change my manifest. Does anyone have an example of what the new manifest should look like? Is there anything else I need to do? Please, please, provide an example. I have been reading about the new requirements, but I am still not clear on how to implement the changes.
Asked
Active
Viewed 101 times
1
-
These applets have been on my website since 2011. I changed nothing. I updated nothing. This month they stopped working. As I say in the OP, my research shows that the requirements for publishing applets have changed precisely this month: january 2014. So if anyone has successfully gotten their "old" applets to work with this new requirements, please share. – learner Jan 26 '14 at 21:10
1 Answers
1
So, your Applets must contain two things:
Code signatures from a trusted authority. All code for Applets must be signed, regardless of its
Permissionsattributes.Manifest Attributes
a.
Permissions– Introduced in 7u25, and required as of 7u51. Indicates if the Applets should run within the sandbox or require full-permissions.b.
Codebase– Introduced in 7u25 and optional/encouraged as of 7u51. Points to the known location of the hosted code.
Sample of META-INF/MANIFEST.MF file:
Manifest-Version: 1.0
Created-By: 1.7.0_51
Permissions: sandbox
Codebase: www.java.com java.com
More information here