Closed amihaescu closed 7 months ago
Hi @amihaescu ,
I tried to replicate this using a fresh environment in docker and can't replicate it. Here is a dump of what I did:
$ docker run --rm -it ubuntu:22.04 /bin/bash
root@01c7ffe93993:/# apt update && apt install -y curl zip unzip
root@01c7ffe93993:/# curl -s https://get.sdkman.io | bash
root@01c7ffe93993:/# source /root/.sdkman/bin/sdkman-init.sh
root@01c7ffe93993:/# sdk version
SDKMAN!
script: 5.18.2
native: 0.4.3
root@01c7ffe93993:/# sdk install java
Installing: java 21.0.1-tem
Done installing!
Setting java 21.0.1-tem as default.
root@01c7ffe93993:/# java -version
openjdk version "21.0.1" 2023-10-17 LTS
OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode, sharing)
root@01c7ffe93993:/# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
root@01c7ffe93993:/# uname -a
Linux 01c7ffe93993 6.6.2-1-default #1 SMP PREEMPT_DYNAMIC Mon Nov 20 11:22:36 UTC 2023 (263a855) x86_64 x86_64 x86_64 GNU/Linux
Based on this, you can see that it works perfectly in a clean setup. I suspect there might be an issue with your shell configuration or permissions in your home directory.
Hi @amihaescu!
Did you use apt
to install curl
like @marc0der or did you use snap
?
https://askubuntu.com/questions/1356327/cant-write-to-a-hidden-path-using-curl
@helpermethod I did it install via snap. Removed it and installed via apt. Everything works fine. Thank you.
Bug report After installing a fresh copy of Ubuntu 22.04.03 on my Intel based machine I installed sdkman via typical route and tried install java
To reproduce
System info