Your security settings have blocked an application from running with an out-of-date or expired version of Java

后端 未结 5 1472
误落风尘
误落风尘 2021-01-13 17:06

Greetings .

I\'ve encountered a Java Error ,which is actually giving me a nightmare .

It says :

\" Application Blocked by Security Settings \"

<
5条回答
  •  梦毁少年i
    2021-01-13 17:49

    "[Java 1.7.0_25 is] recommended for my work and not an old one i believe".

    Unfortunately, your belief is incorrect. As of now (when you asked the Question), Java 1.7.0_u25 is over a year old, and there have been 4 security-relevant releases to Java 1.7 since that release.

    In fact, you probably don't have any option apart from upgrading ... if you want to use that application via your web browser. The version checks cannot be overridden (AFAIK) for Java applications launched via your web browser and/or using Java Web Start. This is a good thing too.


    So how does this jive with your "work recommendation"?

    You need to talk to your system admins, or security people, or whoever made that recommendation. Under normal circumstances, it is bad to use an out-of-date version of Java, especially if you enable it in your web browser. It leaves you open to all sorts of security exploits.

    It may turn out that there is a sound reason for this "recommendation"; for example a compatibility issue for some other Java-based apps that they need to support. If that is the case, you have a hard choice to make:

    • You could upgrade to the latest Java 1.7 release and risk not being able to use applications that (really) require an older release of Java.

    • You could not upgrade, and give up on the idea of using the app that is giving you problems.

    • You install a second web browser, and configure on to use the latest Java release, and the other to use the older "recommended" release. This could be messy, but (at least) Java is designed to allow you to have multiple JRE or JDK installs on your system simultaneously.


    ... but my application(on which i am working, unfortunately supports up to this version (i.e. 7_25).

    Developing an application that only runs on old versions of Java doesn't seem like a good business strategy.

    But assuming there is a good reason, you should be able to install BOTH 1.7.0_25 AND a later version on your system ... and use one for your development work and the other for running web-based applications.

    Or if that isn't appealing, then use different virtual machines, or different physical machines for doing the different types of work that you need to do.

提交回复
热议问题