jvc

Crates.iojvc
lib.rsjvc
version0.1.18
sourcesrc
created_at2021-02-13 12:43:19.028558
updated_at2021-02-15 20:32:43.30623
descriptionA simple tool that help with java versions.
homepage
repositoryhttps://github.com/neculai-stanciu/jvc
max_upload_size
id354688
size5,155,129
(neculai-stanciu)

documentation

README

jvc: java versions controller

Amount of downloads Issues opened Github stars Build status

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

Usage usecase

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
Commit count: 31

cargo fmt