OK for those who are also new to this like me.... The solution can be ... In launch4j JRE add a path like "jre8/bin". However the JRE is not bundled! So just copy the JRE into the directory jre8 with jre8/bin pointing to java.bin. Note this must be relative to your *.exe file. So zip your exe with jdk content in one file and deliver this .....
OK for those who are also new to this like me.... The solution can be ... In launch4j JRE add a path like "jre8/bin". However the JRE is not bundled! So just copy the JRE into the directory jre8 with jre8/bin pointing to java.bin. Note this must be relative to your *.exe file.
I have tried all different solutions posted on stackoverflow and elsewhere but I am still stuck. I want to bundle my small jar-application with jre 17.xxx 32-bit from adoptium. It runs well on my machine that has Java installed. My Pc without Jave always answers "This application requires a Java Runtime 1.8.0. Most support was found for launch4j 3.11 with directories etc. Log is ... Version: 3.50 CmdLine: Z:\MAKEAlarmPlan\make\MakeAlarmplan.exe --l4j-debug JNI: No WOW64: Yes Working dir: Z:\MAKEAlarmPlan\make\....