Autodetect Java based on bitness

Answered

Comments

1 comment

  • Avatar
    wojciechka

    InstallBuilder includes a check for specific bitness using the <bitness> in <validVersion>. It was first included in InstallBuilder 8.2.0.

    For example:

    <autodetectJava>
      <validVersionList>
        <validVersion>
          <vendor>ibm</vendor>
          <minVersion>1.5</minVersion>
          <maxVersion></maxVersion>
          <bitness>64</bitness>
        </validVersion>
      </validVersionList>
    </autodetectJava>
    

    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.

Please sign in to leave a comment.