Skip to main content

Module installer

Module installer 

Source

Functionsยง

download_java
Download an Adoptium Temurin JRE to {base_dir}/java/{version}/. Returns the full path to the java executable.
download_java_with_progress
Reuse an extracted JRE or download one, reporting progress through the callback. During Downloading Java, counts are downloaded and total bytes, with zero total meaning unknown size. Counts reset on retries. Other stages report (0, 0). The existing runtime is checked before any network request or archive extraction.