Closed dfang closed 3 days ago
by the way, for asdf, if you extract the zip to ~/.asdf/installs/
, asdf ls
can manage it. but rtx won't. why ?
$ tar xvf /tmp/OpenJDK8U-jdk_x64_linux_hotspot_8u372b07.tar.gz --strip-components=1 -C /root/.local/share/rtx/installs/java/temurin-8.0.372+7/
$ ls /root/.local/share/rtx/installs/java/temurin-8.0.372+7/
$ rtx ls java
java oracle-17 ~/.tool-versions oracle-17
java 17
@dfang Extracting the .tar.gz to ~/.local/share/rtx/installs/java/termurin8u372b07
should work fine. If rtx ls
does not show the runtime, try clearing the cache via rtx cache clear
.
hi, i used to be a asdf user, now i switched to rtx, it's really great.
in China, download from Github releases is not always reliable, for python or nodejs installation. we can set mirrors. for rtx-plugins/rtx-golang, i've sent a pr.
but for java installation, it seems there is no MIRROR env support. i think for a better installation experience, it's better to have BUILD_MIRROR_URL or DOWNLOAD_MIRROR_URL support. but if unavailable. at least output log like rtx-java plugin
and skip download if file exist in the right directory and checksum is correct.
sorry i'm not a rust user, i can only suggest.