Search code examples
javanetbeansantjava-web-start

How to set the permission in the final manifest


I encountered issues with JWS applications complaining that a jar is set to run in sandbox only. Looking at the generated jars, saw the the Permission is set to sandbox. I was unable to find a way to change this to all-permissions. I tried adding that to the manifest file within the project but still gets overwritten. I guess this is on recent Java versions since the old jars of the application work fine.

Any idea how to set this?


Solution

  • Finally found it! Properties -> Application -> Web Start. Then select one of the security enabled options and set Mixed code to Trusted Only.