Configure Launch4J to use 32-bit JVM only

前端 未结 8 1082
深忆病人
深忆病人 2020-12-29 12:58

I\'m using Launch4J to start my Java application and if an x64 JRE is present on the system, Launch4J seems to prefer it.

Unfortunately my application cannot run on

相关标签:
8条回答
  • 2020-12-29 13:53

    This is an old question and Launch4J has been updated since it was asked. Now there is a dedicated user-interface control for selecting which version of the JVM to prefer. The options currently are:

    • 64-bit only
    • First 64-bit, then 32-bit
    • First 32-bit, then 64-bit
    • 32-bit only

    The last, one of course, is exactly what the OP requested.

    0 讨论(0)
  • 2020-12-29 13:57

    I have exactly the same problem : Into 64 bits environment if both 32 ans 64 bits JDK/JRE are installed this tools always detect the 64 bits version. I have patched the source (java + C++) code to make my own version and re-compile all. I add a check box to FORCE the 32 bits JDK/JRE detection into 64 bits windows environment. Just donwload the version and use it as the original one.

    Version : launch4j-3.0.2-win32_Java32bitsDetection

    0 讨论(0)
提交回复
热议问题