shyiko / jabba

(cross-platform) Java Version Manager
2.97k stars 194 forks source link

[Arch Linux] Keeps Trying to Extract Custom Java Versions to "/root/.jabba/" #847

Open luckyboy66666666 opened 1 year ago

luckyboy66666666 commented 1 year ago

Jabba is successfully downloading custom versions of Java from the links I enter, but it keeps trying to extract to the corresponding directory inside "/root/.jabba/" when ".jabba" is located in "/home/[user]/." When it can't find "/root/.jabba/", it exits with the corresponding error.

Exact terminal entries: [matt@MattsArchLaptop ~]$ sudo jabba install 1.8.0-custom=tgx+https://builds.shipilev.net/workspaces/aarch64-port-jdk8u-shenandoah.tar.xz Downloading 1.8.0-custom (https://builds.shipilev.net/workspaces/aarch64-port-jdk8u-shenandoah.tar.xz) 244464624/244464624 Extracting /tmp/jabba-d-1504402001 to /root/.jabba/jdk/1.8.0-custom /root/.jabba/jdk/1.8.0-custom/bin/java wasn't found. If you believe this is an error - please create a ticket at https://github.com/shyiko/jabba/issues (specify OS and command that was used)

Linux Kernel: 5.15.81-1-lts Using Arch Linux x64 Arch Version: 2022.12.01 Using Jabba 0.11.2