0

Is it possible to run an applet in a Java web application which is based on a local (file system) JNLP file and depended Jars?

We have everything within the web application but due to performance issues we like to put the resources of the applet to the local file system.

Our first tests failed with a java.lang.Securityexception: Permission denied: null

Steve
  • 9,270
  • 5
  • 47
  • 61

2 Answers2

0

You need to sign your jar file and before that edit your manifest file.follow steps given in following link to edit your manifest file and for siging your jar.

Links:

For editing manifest file:Editing manifest file in jar

To sign your jar: Siging jar doc

Abhijeet Panwar
  • 1,837
  • 3
  • 26
  • 48
0

Permission Attribute in manifest of Jar and Security attribute of JNLP should have the same value. as in if JNLP has all-permission then only manifest file should have all-permission in permission attribute. otherwise both shoudl have sanbox.

VikasPushkar
  • 392
  • 3
  • 18