Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm creating an installer for a Java application for Windows. The customers wants to bundle the JRE with the installation (I know that's kind of frowned upon, but it's not up to me). If I bundle the JRE7 32bit windows version, will it work on all Windows version (XP- 8, both 32 and 64bit)?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Java Downloads for All Operating Systems states:

If you use 32-bit and 64-bit browsers interchangeably, you will need to install both 32-bit and 64-bit Java in order to have the Java plug-in for both browsers.

As per Installation of JRE on 64-Bit Windows Computers:

64-bit Windows operating systems (which may be Windows 7, Vista or XP) come with a 32-bit Internet Explorer (IE) browser as the standard (default) for viewing web pages. These operating systems also include a 64-bit Internet Explorer browser. However, using it is optional, and it must be explicitly selected to view web pages. Note that because some web content may not work properly in a 64-bit browser, it is recommended that you use the default 32-bit browser and install the 32-bit JRE.

According to JRE Installation for Microsoft Windows (64-bit) and Which Java download should I choose for my 64-bit Windows operating system?:

The following are some of the known issues when you install a 32 -bit JRE on a 64- bit Windows architecture machine:

  • Online Installation and Java Update features are not applicable to 64-bit architecture. This means that you will not see an Update tab as part of the Java Control Panel. You can manually update Java on 64-bit Windows by running the latest Java 64-bit offline installer.

  • The public JRE installed with the 32-bit JRE is not registered. You must set the PATH environment variable to point to JAVA_HOME \bin to register the JRE.

So yes, except for the issues noted above 32-bit JRE will work fine on 64-bit Windows versions as well, as long as 64-bit browsers are not being used.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.