简体   繁体   English

为什么在安装64位JRE时运行某些applet需要32位JRE

[英]Why 32bit JRE is needed to run certain applets when 64bit JRE is already installed

Let me provide an example, Juniper's Network connect is a Java applet. 让我举个例子,Juniper的Ne​​twork connect是一个Java applet。 This applet doesn't run from a ubuntu 64 bit OS with 64bit Java (JDK or JRE). 此applet不是从具有64位Java(JDK或JRE)的ubuntu 64位操作系统运行的。 To run this, their support site suggest to install 32 bit JRE. 为了运行它,他们的支持站点建议安装32位JRE。

Additional info: Verify Java applet - successfully verifies that the browser is able to run Java applets. 其他信息: 验证Java applet - 成功验证浏览器是否能够运行Java applet。 Browser is 64 bit (Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 ) 浏览器是64位(Mozilla / 5.0(X11; Ubuntu; Linux x86_64; rv:31.0)Gecko / 20100101 Firefox / 31.0)

I am unable to understand the fundamental need for a 32 bit JRE when 64 bit JRE is already available ? 当64位JRE已经可用时,我无法理解32位JRE的基本需求? Can some one explain this. 有人可以解释一下。 This will help many. 这将有助于许多人。

In Windows- and *ix-systems there is no way to make a call from a 32-bit-executable to a 64-bit dynamic library (.dll or .so). 在Windows和* ix系统中,无法从32位可执行文件调用64位动态库(.dll或.so)。 So there's two possibilities one might need to use a 32-bit-jdk: 因此,使用32位jdk可能需要两种可能性:

  1. The application is getting called from a native 32-bit-aplpication like a 32-bit-browser 该应用程序正在从32位浏览器本机32位应用程序中调用
  2. The java-application contains JNI-calls to native libraries that are only delivered as a 32-bit-version. java应用程序包含对本机库的JNI调用,这些库仅作为32位版本提供。

With an applet 1. is the most likely reason - but from your edit it seems more like 2. in your case. 使用applet 1.最可能的原因 - 但是从你的编辑看起来更像是2.在你的情况下。

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

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