Add new comment

Bundled JRE

Hello,

I downloaded the trial version yesterday and am trying to create a single Windows XP 32 bit executable. I need to include a main jar file, 3 dependent library jars, and a bundled JRE. Can you clarify what the settings should be to include the bundled JRE? From the "Config Internal" button and the "JRE" tab, I selected "Bundled JRE './jre'" and "Relative Path". It creates the exectuable without error, and will run correctly as long as the executable is in the same folder as the JRE. However, when I copy my executable to a different location, I receive the error "Java Runtime Environment not found". What do you recommend?

My directory structure looks like this:

- bin

   |- myExecutable.exe

   |- myExecutable.jar

   |- jre

   |- lib

       |- 3 library jars

 

Thank you,

Meg