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.