jbang-jdk-java-env(1)

Name

jbang-jdk-java-env - Prints out the environment variables needed to use the given JDK.

Synopsis

jbang jdk java-env -o --fresh --quiet --verbose [version]

Description

Prints out the environment variables needed to use the given JDK.

Options

--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 of the JDK to select