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

前端 未结 12 553
太阳男子
太阳男子 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:43

    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.

提交回复
热议问题