I’ve been happily using SDKMAN for quite some time. The installation adds 3 or 4 lines to your .bashrc, which are identified as being necessarily the last lines of the file.
I corrupted my .bashrc (and backup failed) and do not know which lines to restore to my .bashrc. Because those lines are missing, I cannot even invoke sdk.
I’ve searched the ~/.sdkman directory and found only one script in the bin directory: sdk-init.sh (which is not marked executable) and a slew of scripts in the scripts directory. Like all the others, they are not marked executable.
I’ve also tried updating with the ‘force’ option. It discovers that I already have it installed (where??!) and aborts execution… before (or without) validating the lines in .bashrc. The system is Ubuntu 23.04, but this shouldn’t be an issue.