|Bundling the JRE using a headless PDE build [message #776856]
||Mon, 09 January 2012 11:47
For my standalone RCP application, I have PDE build that builds a feature
project. The feature project contains one product plugin. What I would like
to do now is to bundle the JRE with the zip file. I gather from another
message (http://www.eclipse.org/forums/index.php/m/717140) that I need to
add a property to the build.xml in the feature project ... so I added this
'root.folder.jre = absolute:C:\Program Files\Java\jdk1.6.0_17\jre'
However, this does not work; the headless build does not add a folder called
jre to the zip file it produces.
I guess I can find other ways to inject files into the zip, but I do not
understand how the product.exe knows which jre to use ... does it always
look in the folder called 'jre' -- or is there something else that must be
Powered by FUDForum
. Page generated in 0.02085 seconds