Launch4j does not find Java with Ant task and runtimeBits option
Brought to you by:
grzegok
If I include the option "runtimeBits" in Launch4J ANT task, the resulting EXE wrapper does not find any installed Java version.
My setup:
I only installed 32 Bit versions of JRE 1.7 and 1.8 on Windows (tested with XP (32 Bit) and 8.1 (64 Bit)). Optionally a user can install a private copy of JRE in subdirectory "java".
Result:
Message "This application requires a Java Runtime Environmet 1.6.0" after starting the EXE wrapper.
Please run your application with the --l4j-debug option and attach the launch4j.log file.