A tool to handle java versions.
NOTE This is a pre-release version - changes may appear in commands and options
Main objective with this tool is to offer a cross platform java versions manager tool. Inspired by fnm and rustup I tried to create something useful for my day to day development.
- Cross platform (Windows, Linux, MacOS)
- Support for AdoptOpenJDK and Zulu
- Install jdk in less than a minute
For linux it is necessary to install openssl-sys first. To install on Ubuntu:
sudo apt update && sudo apt install libssl-devsudo apt update && sudo apt install pkg-config
Install jvc in Windows, Linux or MacOS using cargo install:
cargo install jvc --bin=jvccurl -fsSL https://raw.githubusercontent.com/neculai-stanciu/jvc/main/.ci/install.sh | bash-
Download
jvc-initbinary:Invoke-WebRequest -Uri "https://github.com/neculai-stanciu/jvc/releases/latest/download/jvc-init.exe" -OutFile "jvc-init.exe"
-
Execute init:
.\jvc-init.exe -
Prepare jvc:
jvc setup
-
Close all terminal/powershell windows
For now we support the following shells:
- bash
- zsh
- PowerShell
- CMD
