I need to use multiple versions of java in my ubuntu 22. Just install SDKMAN with the command
curl -s "https://get.sdkman.io" | bash
but can not install java. When prompting command sdk install java 14.0.2-zulu
getting the following error
Downloading: java 14.0.2-zulu
In progress...
curl: Failed to open /home/asif/.sdkman/tmp/java-14.0.2-zulu.headers.tmp
curl: (23) Failed writing received data to disk/application
grep: /home/user/.sdkman/tmp/java-14.0.2-zulu.headers.tmp: No such file or directory
Download has failed, aborting!
Can not install java 14.0.2-zulu at this time...