Why is 32bit JRE required to run certain applets when 64bit JRE is already installed

Let me give you an example, Juniper Network connect is a Java applet. This applet does not run on 64-bit ubuntu OS with 64-bit Java (JDK or JRE). To get this started, their support site suggest installing a 32-bit JRE.

Additional Information: Test Java Applet - Successfully verifies that the browser can run Java applets. Browser 64-bit (Mozilla / 5.0 (X11; Ubuntu; Linux x86_64; rv: 31.0) Gecko / 20100101 Firefox / 31.0)

I can't figure out the basic need for a 32-bit JRE when a 64-bit JRE is already available? Can someone explain this. This will help a lot.

+3


source to share


1 answer


On Windows and * ix systems, there is no way to call from a 32-bit executable file to a 64-bit dynamic link library (.dll or .so). Thus, there are two possibilities that you might need to use a 32-bit jdk:

  • The application is being called from an embedded 32-bit application such as a 32-bit browser
  • The Java application contains JNI calls to native libraries that are only shipped as a 32-bit version.


With the applet, the 1. most likely reason is - but from your editing it seems more similar to 2. in your case.

+2


source







All Articles