简体   繁体   English

如何在IE或Chrome中使用特定版本的Java

[英]How to use a specific version of java in IE or Chrome

This is my problem. 这是我的问题。 A dozen of users in my enterprise use an intranet web tool X using java and a java tool Y launched with .jar file. 我的企业中有十二个用户使用使用Java的Intranet Web工具X和使用.jar文件启动的Java工具Y。

X is compatible with java 1.6 but not compatible with java 1.7 Y is compatible with java 1.7 but not compatible with java 1.6 X与Java 1.6兼容但与Java 1.7不兼容Y与Java 1.7兼容但与Java 1.6不兼容

Is there a way to manage this? 有办法解决吗? My idea was to instal java 1.6 & 1.7 on the PC and to force IE or Chrome to use the 1.6 version for the intranet web tool X. But I don't really know how to do that. 我的想法是在PC上安装Java 1.6和1.7,并强制IE或Chrome将1.6版本用于Intranet Web工具X。但是我真的不知道该怎么做。

Maybe someone can help me here with that crazy problem ! 也许有人可以在这个疯狂的问题上帮助我! Tx a lot. Tx很多。

I don't think there is a way to configure a single web browser install to use two different versions of Java. 我认为没有一种方法可以配置单个Web浏览器安装以使用两个不同版本的Java。 Furthermore, the version of Java used by a browser is controlled by the end user (or his admin). 此外,浏览器使用的Java版本由最终用户(或其管理员)控制。

So, your options are rather limited: 因此,您的选择非常有限:

  • Ditch one of the applications. 抛弃其中一种应用程序。

  • Fix the older application so that it works on Java 7. 修复较旧的应用程序,使其可以在Java 7上运行。

  • Get your users to install two different browsers, and install Java plugins for / from different versions of Java in each one. 让您的用户安装两个不同的浏览器,并在每个浏览器中安装不同版本的Java的Java插件。 (For example: https://superuser.com/questions/45911/java-different-versions-for-ie-firefox ... though that is for a different pair of browsers.) (例如: https : //superuser.com/questions/45911/java-different-versions-for-ie-firefox ...尽管这是针对另一对浏览器的。)

    The snag is that user than has to remember to use the right browser for each tool. 遇到的麻烦是,用户必须记住为每种工具使用正确的浏览器。


Frankly, if you can't upgrade the application that depends on Java 6, it is probably time to ditch it. 坦白说,如果您不能升级依赖Java 6的应用程序,则可能是放弃它的时候了。 Java 6 has been end-of-lifed, and running it in a web browser is a significant security risk. Java 6已报废,并且在Web浏览器中运行它会带来重大的安全风险。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM