Warning on Permissions attribute when running an applet with JRE 7u45

前端 未结 12 567
太阳男子
太阳男子 2020-12-14 02:04

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 th

12条回答
  •  余生分开走
    2020-12-14 02:54

    In your Java control panel, change the security level to Very High, that way it will block the applet from running because it is missing the required Permissions attribute. Run your application, an exception will be thrown which will tell you which jar is missing the attribute.

    I was under the impression that adding the Permissions attribute to the main jar of the applet would be sufficient but I just found out that even an ancillary jar can cause the issue. I will now add the Permissions attribute to all my jars.

    Hope this helps someone.

提交回复
热议问题