JavaVersionSwitcher 0.1.0
See the version list below for details.
dotnet tool install --global JavaVersionSwitcher --version 0.1.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local JavaVersionSwitcher --version 0.1.0
#tool dotnet:?package=JavaVersionSwitcher&version=0.1.0
nuke :add-package JavaVersionSwitcher --version 0.1.0
JavaVersionSwitcher
.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
Contributing
JavaVersionSwitcher follows the [Contributor Covenant][contrib-covenant] Code of Conduct.
We accept Pull Requests.
Small note: If editing the Readme, please conform to the standard-readme specification.
This project follows the [all-contributors][] specification. Contributions of any kind welcome!
License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
This package has no dependencies.