an初始java运行环境错误,Java 7 运行老的JAVA应用出错,需要做安全配置。

Missing required Permission manifest attribute in main.jar

Why are Java applications blocked by your security settings with the latest Java?

This article applies to:

Java version(s): 7.0

SYMPTOMS

Trying to run the Java applications with Java version 7 Update 51, generates messages that says

Java applications are blocked by your security settings.

Missing Application-Name manifest attribute

Missing required Permissions manifest attribute in main jar

CAUSE

Starting with Java 7 Update 51, Java has enhanced security model to make user system less vulnerable to the external exploits. The new version of Java does not allow users to run the applications that are not signed (Unsigned), Self signed (not signed by trusted authority) and the applications that are missing permission attributes.

Risks involved in running each kind of applications:

Unsigned applications:

An application without a certificate (i.e. unsigned apps), or missing application Name and Publisher information are blocked by default. Running this kind of application is potentially unsafe and present higher level of risk.

Self signed application (Certificate not from trusted authority):

An application with self-signed certificate is blocked by default. Applications of this type present the highest level of risk because publisher is not identified and the application may be granted access to personal data on your computer.

Jar file missing Permission Attribute:

Permissions Attribute verifies that the application requests the permission level that developer specified. If this attribute is not present, it might be possible for an attacker to exploit a user by re-deploying an application that is signed with original certificate and running the application at a different privilege level.

SOLUTION

The application that you are running is blocked because the developer has not met with the security guidelines implemented in Java 7 Update51.

It is in your best interest to contact developer or publisher of this application and let them know about the application being blocked. Also provide developers with these links that gives details about implementing secure practices in the code for the application.

WORKAROUND

It is highly recommended not to run these kind of applications, however if you still want to run, run only if you understand risk and implications involved.

As a workaround, the user can use Exception Site list feature to run the applications blocked by security settings. By adding the URL of the blocked application to the Exception Site list allows it to run with some warnings.

Steps to Add URL to the Exception Site list:

Go to theJava Control Panel(On Windows Click Start and then Configure Java)

Click on theSecuritytab

Click on theEdit Site Listbutton

Click theAddin the Exception Site List window

uid-113269-id-4105570.html?_t_t_t=0.7848747677314779

Click in the empty field under Location field to enter the URL

Example:

(URL should begin with http:// or https://)

uid-113269-id-4105570.html?_t_t_t=0.7848747677314779 If the URL where the applet is hosted is different than the URL for the page on which the applet is called you need to add both the URL for the applet.

Example: For Yahoo games Checkers (This is just an example the host url can be different for depending on which host is serving the game), enter:

and (This is the url for Yahoo games domain)

(This is the url where game is the hosted and is shown in the dialog box for blocked application)

Click OK to save the URL that you entered.

Click Continue on the Security Warning dialog

Applications where this issue may be seen include:

Yahoo Games

Ebay and Paypal Shipping Label

USAA

Etrade Marketcaster

We think you might also be interested in:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值