server java install

Aliases: 
  • java install
  •  
    Parameters:
    Name Type Required Default Hint
    ID string true Full name of the Java install you wish to install
    verbose boolean false false Show verbose installation information
    setDefault boolean false false Set this Java install to be the default after installing

    Command Usage

    Install a version of Java for your servers to use.

    server java install openjdk11
    Set a Java install to be the default server JRE at the same time you install with --setDefault
    server java install openjdk11 --setDefault
    Note, the default will be set to exactly what you type, so if you don't type a specific release version
    then CommandBox will still check the API for the latest version every time and download on demand.
    To set a default version of Java and have CommandBox never check again, set a very specific release version
    server java install openjdk8_jdk8u192-b12 --setDefault