SDKMAN : Multi-platform tool to switch between SDK versions

There are several tools to manage multiple versions of SDK for Java, Maven, Graddle, SBT, Spark, Spring Boot, etc … depending on the platform. For example, “update-alternatives” is the native tool for Debian-based distributions. However, for developers who usually looks for a multi-platform and multi-SDK tool, SDKMAN is a good choice. For SDK vendors, it got an API platform that allows them to release new versions. As it becomes increasingly popular, I can forsee that many vendors will come on board and it will become a preponderant tool as SDKs repository.

Installation instructions depending on your platform can be found on the official website https://sdkman.io/install. A special note that it can also work on Windows platform through WSL (Windows SubSystem for Linux) layer.

To get the list of SDKs that are actually being managed , you can type sdk list which also provides a detailed description of each of them as per below screenshot.

List of SDKs being managed in SDKMAN

Let’s try to manage Spark versions.

To list all available versions for spark : sdk list spark

List of available versions for Spark

As we can see on above screen, the spark version 3.0.1 is installed is currently active. To install another version, type : sdk install spark 2.4.7

Install another version of Spark

It will trigger the download of the requested version.

List of downloaded Spark versions

To switch between version : sdk use spark 2.4.7

Switching between versions

To list down the versions actually being actives for all SDKs:

List of active SDKs versions

Enjoy SDKMAN, the easiest way to manage SDKs versions and let’s spare our valuable time to business logics!!

13 comments

  1. Oh my goodness! Impressive article dude! Many thanks, However I am going through issues with your RSS.
    I don’t understand why I cannot subscribe to it.

    Is there anybody having identical RSS problems? Anyone that knows the answer
    can you kindly respond? Thanks!!

  2. Greate article. Keep posting such kind of info on your blog.

    Im really impressed by your site.
    Hi there, You’ve done a great job. I will definitely
    digg it and for my part suggest to my friends. I am confident they will be benefited from this website.

  3. Oh my goodness! Amazing article dude! Thank you so much, However I am going
    through difficulties with your RSS. I don’t understand the reason why I can’t subscribe to it.

    Is there anybody else having similar RSS problems? Anyone that knows the solution can you
    kindly respond? Thanx!!

  4. It’s really a cool and useful piece of info.
    I’m glad that you simply shared this useful information with us.
    Please stay us up to date like this. Thank you for sharing.

  5. This is really interesting, You’re a very skilled blogger.
    I have joined your feed and look forward to seeking more of your great post.
    Also, I have shared your website in my social networks!

Leave a comment

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