JBANG-JDK

NAME

jbang jdk — Manage Java Development Kits installed by jbang.

SYNOPSIS

jbang jdk [-h] [--config=<config>] [--insecure] [--[no-]verbose] [--[no-]quiet] [--[no-]offline] [--[no-]fresh] [--[no-]stacktrace] [COMMAND]

OPTIONS

-h, --help

Display this help and exit

--config=<config>

Path to config file to be used instead of the default

--insecure

Enable insecure trust of all SSL certificates.

--[no-]verbose

jbang will be verbose on what it does.

--[no-]quiet

jbang will be quiet, only print when error occurs.

-o, --[no-]offline

Work offline. Fail-fast if dependencies are missing.

--[no-]fresh

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

-x, --[no-]stacktrace

Print exceptions stacktraces to stderr (even when quiet).

COMMANDS

  • install - Installs a JDK.

  • install - Installs a JDK.

  • list - Lists installed JDKs.

  • list - Lists installed JDKs.

  • uninstall - Uninstalls an existing JDK.

  • uninstall - Uninstalls an existing JDK.

  • home - Prints the folder where the given JDK is installed.

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

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

  • exec - Executes the given command using the default (or specified) JDK.

  • exec - Executes the given command using the default (or specified) JDK.

  • default - Sets the default JDK to be used by JBang.