CloudBees-community/clickstack-framework — pull request #3 by ndeloof (2013-09-04 16:20:17+00:00)
Title: Let customer package the JRE in the application archive

when java.version is set to "custom",
lookup (required) java.path runtime parameter (could be "java.home" if you prefer) that expand $app-extra-files to actual value.
Note this assumes the application zip has been exploded already and extra files copied to app-extra-files, as getJavaHome check for returned Path to exist.