runtime¶
runtime allows to install the java runtime. This module is used by install_minecraft_version(), so you don’t need to use it in your code most of the time.
install_jvm_runtime(jvm_version: str, minecraft_directory: str, callback: Dict[str, Callable] = None)
Installs the given jvm runtime. callback is the same dict as in the install module.
get_jvm_runtimes() -> List[str]
Returns a list of all available runtimes.