The location of the JRE package is not currently regulated. However, you can use the Move Files and Directories action to move the JRE to another location after running the Install Files action. In this case you need to call
String newJreHome = ...;
JVMSelector.setPreferredJVM(newJreHome);
JRE .