![]() The line I added to the script (in the section) was: Source: "M:\Netbeans\MyApp\jre6\*" DestDir: "" \įlags: shellexec postinstall skipifsilent So I added a setting to the ISC script that copies the JRE into the installer package. So what I did to solve was to use Inno Setup Compiler (ISC). Really poor in my opinion, as their documentation does not seem to allude to this issue at all. ![]() I've been playing around with this all day and there was no way I could get Launch4J to include the JRE in the. exe to a new location (so it is no longer co-located with your jre6 folder) you get the This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted error when you try to run the application. I would have expected that to work, but if you then move the. Then click the Build button (obviously, after you've entered all the other parameters - but the only value you need to enter on the JRE tab itself is the Bundled JRE path value.) ![]() ![]() Then you open Launch4J and set the Bundled JRE path - just type in jre6. Then copy the JRE from your system into your jre6 folder. The only way I could bundle a JRE was to use Launch4J and Inno Setup Compiler.įirst, create a jre6 folder (for example) in the same directory as your output file (.exe). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |