Crates.io | wukong |
lib.rs | wukong |
version | 0.2.6 |
source | src |
created_at | 2024-09-12 05:04:51.701192 |
updated_at | 2024-12-03 13:28:23.549224 |
description | Wukong is a command-line toolchain for Java with Rust |
homepage | https://github.com/linux-china/wukong |
repository | https://github.com/linux-china/wukong |
max_upload_size | |
id | 1372483 |
size | 370,695 |
Wukong is a Java toolchain written with Rust.
cargo binstall wukong
. Please run cargo install cargo-binstall
first.~/.cargo/bin/jbang --help
~/.cargo/bin/sdk --help
~/.cargo/bin/jenv --help
~/.cargo/bin/mt --help
~/.cargo/bin/mcs --help
Please add eval $(~/.cargo/bin/sdk init)
to your shell profile.
sdk install -y java
for auto-installsdk -q install java
sdk install java 17
, sdk use java 17
eval $(sdk use java 17)
~/.m2/toolchains.xml
~/.m2/toolchains.xml
~/.m2/toolchains.xml
mt vendors
mt add 21
: add JDK 21 from $HOME/.jbang/cache/jdks/21
mt add 17.0.4-tem
: add JDK from $HOME/.sdk/candidates/java/17.0.4-tem
mt add /path/to/java-home
: add JDK from /path/to/java-home
Integration with direnv by sdk direnv init
:
.java-version
, .sdkmanrc
.sdkmanrc