I'm trying to install Groovy for all users on an Ubuntu system. Apparently the correct way to install Groovy is to use http://sdkman.io/ but following those instructions the software is only installed for the root user. What are you intended to do?
I would check the paragraph: Installing to a Custom Location in the install documentation.
After you install it, say in
/usr/local/sdkman, it gets a matter to invoke:
for any user login: it can be done putting a custom bash init file in
On recent Ubuntu versions (works on Ubuntu 19.10) Groovy can be installed with Snap:
sudo snap install groovy --classic