4 releases
0.1.18 | Feb 15, 2021 |
---|---|
0.1.17 | Feb 13, 2021 |
0.1.16 | Feb 13, 2021 |
0.1.14 | Feb 13, 2021 |
#21 in #versions
3MB
2K
SLoC
jvc: java versions controller
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.
Features
- Cross platform (Windows, Linux, MacOS)
- Support for AdoptOpenJDK and Zulu
- Install jdk in less than a minute
Usage
Installation
Using cargo
For linux it is necessary to install openssl-sys first. To install on Ubuntu:
sudo apt update && sudo apt install libssl-dev
sudo apt update && sudo apt install pkg-config
Install jvc in Windows, Linux or MacOS using cargo install:
cargo install jvc --bin=jvc
With installation script
For linux/macos
curl -fsSL https://raw.githubusercontent.com/neculai-stanciu/jvc/main/.ci/install.sh | bash
For windows
-
Download
jvc-init
binary: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
Supported shells
For now we support the following shells:
- bash
- zsh
- PowerShell
- CMD
Dependencies
~18–34MB
~529K SLoC