Auto-download JDK or JRE and run Java apps from Python or CLI
copied from cf-post-staging / cjdkcjdk (for "cached JDK") is a Python package and command-line tool to download and run JDK (Java Development Kit) or JRE (Java Runtime Environment) distributions.
Previously used JDKs are kept in the user's cache directory, so that future invocations do not require a download.