Making “java -v”, “java –version”, and “java version” Work

To get the version of most CLI tools, you type the tool’s command name followed by one of these: -v –version Some CLI tools, like Git, support a “version” subcommand, so you type the tool’s...