jbang-jdk-install(1)

Name

jbang-jdk-install - Installs a JDK.

Synopsis

jbang jdk install -o [-f] --fresh --quiet --verbose version [existingJdkPath]

Description

Installs a JDK.

Options

-f, --force

Force installation even when already installed

--fresh

Make sure we use fresh (i.e. non-cached) resources.

-o, --offline

Work offline. Fail-fast if dependencies are missing. No connections will be attempted

--quiet

jbang will be quiet, only print when error occurs.

--verbose

jbang will be verbose on what it does.

Arguments

version

The version to install

[existingJdkPath]

Already existing JDK’s path on the filesystem. If path is given, its version will be checked against the incoming one, and if the same, the given JDK will be linked successfully.