JavaVersionSwitcher 0.2.1

.NET tool to make switching java versions on windows easy.

dotnet tool install --global JavaVersionSwitcher --version 0.2.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local JavaVersionSwitcher --version 0.2.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=JavaVersionSwitcher&version=0.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package JavaVersionSwitcher --version 0.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

JavaVersionSwitcher

standard-readme compliant Contributor Covenant Build NuGet package

.NET tool to make switching java versions on windows easy.

Table of Contents

Install

dotnet tool install -g JavaVersionSwitcher

Usage

This tool is tested and works on windows. I'm not sure if anything works on non-windows systems. (In fact I am quite sure that it will probably not work at all on non-windows systems.)

REM show all java versions currently installed
dotnet jvs scan

REM check if the java setup is "ok". (Checks %PATH% and %JAVA_HOME%)
dotnet jvs check

REM switch to another java version
dotnet jvs switch

Changes to the system

After running dotnet jvs switch the environment variables JAVA_HOME and PATH will be modified. It is necessary to close the current terminal and open a new one to refresh the environment.

Maintainer

Nils Andresen @nils-a

Contributing

JavaVersionSwitcher follows the Contributor Covenant Code of Conduct.

We accept Pull Requests.

Small note: If editing the Readme, please conform to the standard-readme specification.

License

MIT License © Nils Andresen

JavaVersionSwitcher

standard-readme compliant Contributor Covenant Build NuGet package

.NET tool to make switching java versions on windows easy.

Table of Contents

Install

dotnet tool install -g JavaVersionSwitcher

Usage

This tool is tested and works on windows. I'm not sure if anything works on non-windows systems. (In fact I am quite sure that it will probably not work at all on non-windows systems.)

REM show all java versions currently installed
dotnet jvs scan

REM check if the java setup is "ok". (Checks %PATH% and %JAVA_HOME%)
dotnet jvs check

REM switch to another java version
dotnet jvs switch

Changes to the system

After running dotnet jvs switch the environment variables JAVA_HOME and PATH will be modified. It is necessary to close the current terminal and open a new one to refresh the environment.

Maintainer

Nils Andresen @nils-a

Contributing

JavaVersionSwitcher follows the Contributor Covenant Code of Conduct.

We accept Pull Requests.

Small note: If editing the Readme, please conform to the standard-readme specification.

License

MIT License © Nils Andresen

Release Notes

https://github.com/nils-org/JavaVersionSwitcher/releases

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
0.2.1 56 6/23/2021
0.2.0 48 6/22/2021
0.1.0 76 6/17/2021
0.1.0-alpha1 75 6/16/2021