Menu

#80 Configure Launch4J to use 32-bit JVM only

launch4j 3.8
closed
None
5
2015-05-09
2014-02-27
No

Same as : https://sourceforge.net/p/launch4j/feature-requests/63/

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)? "

It is important to force 32 bits detection under 64 bits OS because when 32 bits librairies are used with java, the JRE used must be in 32 bits too, if both 64 and 32 bits jre are installed, always the 64 bits is chooses.

I have followed this discussion : http://stackoverflow.com/questions/2688932/configure-launch4j-to-use-32-bit-jvm-only

This patch work for us for more than one year. You can configure it into GUI and it is save into config file.

1 Attachments

Discussion

  • Grzegorz Kowal

    Grzegorz Kowal - 2014-03-01
    • assigned_to: Grzegorz Kowal
     
  • Grzegorz Kowal

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

    Grzegorz Kowal - 2014-03-23

    Added.

     
  • Stéphane Château

    Happy that this patch was accepted and added to your software.

     
  • Grzegorz Kowal

    Grzegorz Kowal - 2014-03-24

    Actually I implemented this in a different way to allow for more flexibility, but thank you for submitting.

    Grzegorz

     
  • Grzegorz Kowal

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

Log in to post a comment.