Skip to content
moqsien edited this page Jan 21, 2024 · 1 revision

This command helps you with jdk/maven/gradle version management.

moqsien@moqsiendeiMac ~ % g j -h
Java related CLIs.

Usage:
   java [command]

Aliases:
  java, j

Available Commands:
                       Shows installed versions fo gradle.
  gradle-mirror        Set aliyun repository for gradle.
  gradle-remote        Shows available versions of gradle from remote website.
  gradle-remove        Removes a specified version fo gradle.
  gradle-remove-unused Removes installed versions of gradle except the one currently in use.
  gradle-use           Downloads and switches to the specified version fo gradle.
  local                Shows installed versions of jdk.
  maven-local          Show installed versions of maven.
  maven-mirror         Set mirrors and local repository path for maven.
  maven-remote         Shows available versions of maven from remote websites.
  maven-remove         Removes a specified version fo maven.
  maven-remove-unused  Removes installed versions of maven except the one currently in use.
  maven-use            Downloads and switches to the specified version fo maven.
  remote               Shows available versions of jdk from remote websites.
  remove               Removes a specified version of jdk.
  remove-unused        Removes installed versions of jdk except the one currently in use.
  use                  Downloads and switches to the specified version of jdk.

Flags:
  -h, --help   help for java

Use " java [command] --help" for more information about a command.