Hello,
I would like to create an installer that uses a java that is provided as part of the download. I don't see how I execute it using the Java Configuration Panel. There is no option there to tell it where the Java Home directory is.
In order to achieve that you can go in the “Java Products” page and in the
Java Settings tab use the [Add JEW Bundle...] button to bundle a JRE by selecting the related JRE
from the
JRE - list.
Please note that the installed Java Product will use the bundle over any JRE version installed on the target machine. The content of this folder will be added automatically in the "Destination" folder.
A second question is how to create two versions in the same package. I want to have a version that uses Java installed on the system and one that doesn't. Is there anyway to do this without having two different configurations.
You can have another build that will not contain the related JRE. In order to achieve that you can go in the “Media” page and use the [ New Build ] toolbar button or the “New” context menu option and select the desired build type.
Please note that in the "Organization" page, in the
Build section of a
feature property you can chose to remove the feature from some builds. If a feature is removed from a build, all other resources that demand that feature (components, component members, class entries, type libraries...) will also be removed from the build.
Please let us know if that helped, otherwise give us more details.
Best regards,
Dan