Configure Launch4J to use 32-bit JVM only
问题 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 a 64 bit JVM because I'm loading a 32 bit DLL, which is not possible and leads to an UnsatisfiedLinkError. Is there any way to force/trick Launch4J to use a 32 bit JVM only? 回答1: I had this exact problem about a year ago, using Lauch4J to wrap a small Java program that required a 32-bit DLL (swt-win32.dll, as it happened). I found