Is there a way to autodetect Java based on the bitness of the JVM? Our application requires Java 64-bit to be installed, but we have seen several instances where both 32-bit Java and 64-bit Java were installed on the machine, and the installer autodetected the 32-bit JVM over the 64-bit JVM. We are not allowed to show the user a list of available JVMs (we install a 64-bit JVM if one cannot be found by the installer).
asked 14 Jun '12, 14:47
InstallBuilder includes a check for specific bitness using the
The example will select any Java that is at least 1.5 and is 64bit.
You can find more information in Java section of InstallBuilder user guide.
answered 14 Jun '12, 14:51