简体   繁体   English

我可以安装旧的Java插件吗?

[英]Can I install an old java plugin?

Is there any way to install an old version of the Java plugin in any of my browsers (IE, Firefox, Chrome or Opera)? 是否可以在我的任何浏览器(IE,Firefox,Chrome或Opera)中安装旧版本的Java插件? I want to be able to test a set of applets without digitally signing them, but Oracle's crazy signing policy is making it impossible. 我希望能够在不对它们进行数字签名的情况下测试一组applet,但是Oracle的疯狂签名策略使之成为不可能。 The appletviewer won't cut it for me (the applets interact with each other and with JavaScript on the same page). appletviewer不会为我剪切(applet彼此交互并且与同一页面上的JavaScript交互)。 It seems to be impossible to get an applet signed without paying some money to someone somewhere along the line, and I really can't be bothered with that... 如果不向某个地方的某人付钱,要签一个applet似乎是不可能的,而我真的不能为此烦恼...

I still have an old JDK 1.5 installed in addition to a JDK 1.8; 除了JDK 1.8之外,我还安装了旧的JDK 1.5。 is there any way of convincing a browser to use it? 有什么办法说服浏览器使用它? Maybe an old browser, if I can find one somewhere? 也许是旧的浏览器,如果我可以在某个地方找到它? (I have a copy of Netscape 3 somewhere, but that might be a bit too old...) (我在某处有一个Netscape 3副本,但这可能有点旧了……)

Any suggestions welcomed, except for "sign the applets"! 任何建议都欢迎,除了“签署小程序”!

Of course there are several ways to test your applets: 当然,有几种测试小程序的方法:

  1. Sign your applet with a self signed certificate and add that certificate to the certificate store (java and browser) 使用自签名证书对小程序进行签名,然后将该证书添加到证书存储区(Java和浏览器)
  2. Get a trial certificate of one of the many officals CAs and sign your applets 获得众多官方CA之一的试用证书并签署小程序
  3. Decrease the security slider in the java system properties - especially if you have an older java version installed (eg Java 1.7.17 which is available in the java download archive at oracle) 减少Java系统属性中的安全性滑块-尤其是如果您安装了较旧的Java版本(例如Java 1.7.17,可从oracle的java下载档案中获得)
  4. Test your webpage/applets with different browsers. 使用其他浏览器测试您的网页/小应用。 Especially the IE has not such strict rules regarding applet security like chrome or firefox (they deactivate the plugin by default etc.) 尤其是IE对于applet安全性(例如chrome或firefox)没有严格的规则(它们默认情况下会停用插件等)。

But please note, those solutions are only for local testing and not a productive environment... 但请注意,这些解决方案仅用于本地测试,而不是生产环境...

Try with enable only java 1.5 in table from "Java Control Panel > Java > View" 尝试从“ Java控制面板> Java>视图”中仅启用表中的Java 1.5

For Linux type jcontrol in terminal. 对于Linux, jcontrol在终端中键入jcontrol
For Windows search in control panel for Java configurations. 对于Windows,请在控制面板中搜索Java配置。

It should be start Java 1.5 for applets. 小程序应该从Java 1.5开始。

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

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