Optionally package JDKs

This change adds the ability to package the OpenJDK JDK instead of the
JRE.

[#72540212]
Merge 72540212-package-jdk to master

[Completes #72540212]