I don't know if it is possible to take a subset of the components of the JRE for tailoring an installation.