sdkman logo

SDKMAN provide options to manage GraalVM, JavaSE SDK, OpenJDK, ANT, maven, Gradle and many more.

It is crucial to decide what developer you are. Are you the a Windows, a Mac or Linux user?

This setup is run as a normal – non-root – user, so that every user on a multi-user environment has its own managed versions.

Setup prerequists

If you are a Linux user, perfect you will have the easiest path! Linux is developed by developers FOR developers. If you a Mac user it is a bit more complicated as Linux but still very easy. As a windows user? puhh it will take timeā€¦

Linux installation

This is the part which requires root privileges to ensure the commands are available for everyone.
You will need following packages on debian based systems like Ubuntu execute:

sudo apt update
sudo apt install curl wget git

Now you can install SDKMAN

Mac installation

for Mac the package installation is

brew install curl wget git

now go on with the steps of SDKMAN

Windows installation

Puhh, we will only briefly describe to setup on a crappy operating system for developers. Also informing you, that this path will cause many really odd issues, so it is NOT suggested to work under Windows with JHipster directly.

  1. install cygwin with bash, wget, curl
    https://www.cygwin.com/install.html
  2. under cygwin install sdkman
    follow the steps like under Linux described

now go on with the steps of SDKMAN

Install sdkman itself

Install sdkman to manage different SDKs as your own – non-root – user.

curl -s "https://get.sdkman.io" | bash

follow the instructions. And now run following command to enable it in your current terminal:

source "$HOME/.sdkman/bin/sdkman-init.sh"

now check the installation with

sdk version

and you shall get something like

sdkman 5.15.0

Perfect you are done with installing SDKMAN

Share:

Facebook
Twitter
Pinterest
LinkedIn

Leave a Comment

Your email address will not be published. Required fields are marked *

Table of Contents

On Key

Related Posts