您如何为浏览器小程序指定特定的 JRE? [英] How do you specify a particular JRE for a Browser applet?

查看:26
本文介绍了您如何为浏览器小程序指定特定的 JRE?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个需要 JRE v1.5_12 才能正常工作的第三方小程序.用户正在安装 JRE v1.6.07 或更高版本.它曾经是 1.5 及更低版本,我可以在机器上有多个 JRE 并指定使用哪个 - 但 1.6 可能会被破坏.如何告诉浏览器我想使用 v1.5_12 而不是安装的最新版本?

I have an third-party applet that requires JRE v1.5_12 to work correctly. THe user is installing JRE v1.6.07 or better. It used to be with 1.5 and below, that I could have multiple JRE's on the machine and specify which one to use - but with 1.6 that apepars to be broken. How do I tell the browser I want to use v1.5_12 instead of the latest one installed?

推荐答案

出于安全原因,您不能再强制它使用较旧的 JRE.假设版本 12 有一个巨大的安全漏洞,每个人都安装版本 13 来修补它.邪恶的 Java 小程序可以只说请使用第 12 版运行",然后执行它们的漏洞利用,使补丁变得毫无用处.

For security reasons, you can no longer force it to use older JRE's. Say release 12 has a huge security hole, and everyone installs release 13 to patch it. Evil java applets could just say "run with release 12 please" and then carry out their exploits, rendering the patches useless.

很可能你有一些带有安全漏洞的代码,新的 JRE 阻止了这些漏洞,因为它会导致安全风险.修复你的代码,应该是很小的改动,然后你就不用担心了.

Most likely you have some code with security holes that the newer JRE is blocking, because it would cause a security risk. Fix your code, should be pretty minor changes, then you wont have to worry.

有关更改的更多信息,请参阅此页面.

See this page for more info on the change.

这篇关于您如何为浏览器小程序指定特定的 JRE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆