Even though the documentation says:
The JRE will always be distributed in the directory jre right below the installation root directory
When running my installer on a Mac OS X (Mavericks/Yosemite) which does not have a suitable JRE installed, the bundled JRE is placed in INSTALLATION_ROOT/.install4j/jre.bundle/ (Contents/Home/jre). This is forcing me to provide special handling when setting up the JRE configuration for my application. Is this a bug in install4 (5.1.15)?
 
                        
Indeed, the documentation has a gap in this respect. It should say:
A statically bundled JRE will always be distributed inside the installation root directory, on Windows and Linux/Unix in the directory
jreand on Mac OS X in[content directory]/.install4j/jre.bundle.The content directory is available from the installer runtime variable
sys.contentDir. and resolves to the installation directory for folder media file types andContents/Resources/appfor archive media file types.The actual location of the JRE installation directory is available from the installer runtime variable
sys.preferredJreafter the "Install files" action has run.