#63 Specify the use of 32 Bit JVM

launch4j 3.8
General (39)

From the forums topic: Howto prefer 32 Bit JVM?

Quoting tboerkel: "I installed 64 Bit JVM first and then 32 Bit JVM. When I double-click a JAR, then it will use the 32 Bit JVM. But when I start via the .exe, it uses the 64 Bit JVM. How can I force launch4j to use the latest installed JVM or the 32 Bit JVM (no hardcoding of paths)? "

Selecting 32 bit JVM or 64 bit JVM as required or optional would be a great new Feature / Option


  • ivicaImarica

    ivicaImarica - 2011-09-02

    I need that option too, to tell L4J to use 32-bit Java only, or to prefer 64-bit but if not found to use 32-bit.

  • r_x

    r_x - 2012-05-16

    A feature to limit the JRE/JDK selection to 32 bit or 64 bit VMs would be really handy especially when external JNI libraries comes into play.

  • ludovic p

    ludovic p - 2013-09-09

    A "fork" that include a "limit to 32bit jvm setting" is available at http://fbergmann.github.io/launch4j/
    However, it is based on an old version.

    I merged it against latest launch4j version. The patch is attached and should apply against last release.

  • Grzegorz Kowal

    Grzegorz Kowal - 2014-03-23

    Added feature.

  • Grzegorz Kowal

    Grzegorz Kowal - 2014-03-23
    • status: open --> closed
    • Group: --> Next Release
  • Grzegorz Kowal

    Grzegorz Kowal - 2015-05-09
    • Group: Future --> launch4j 3.8

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks