You may need to re-source sdkman-init:

source ~/.sdkman/bin/sdkman-init.sh

When I was in your situation, just after "installing" local versions to sdkman, use worked, but list and current didn't show the local versions and env init didn't populate .sdkmanrc with the version I selected with use. Re-sourcing sdkman-init fixed these issues.

Posting for posterity.

Answer from LastStar007 on Stack Overflow
🌐
Medium
fresult.medium.com › tips-how-to-list-installed-packages-in-sdkman-f809d7891f1d
[Tips] How to List Installed Packages in SDKMAN! | by fResult | Medium
April 29, 2026 - For Java SDKs, the keyword installed is the indicator. For SBT and other SDKs, * marks installed packages. (Remember to use \* in the command to escape the asterisk.) All done! From here on, we dive into the main content. It’s all about how I can figure out the solutions above step-by-step. Follow me, it may help you figure out or solve similar problems you have in the future. 😉 · SDKMAN! is an amazing tool for managing multiple versions ...
🌐
GitHub
github.com › sdkman › sdkman-cli › issues › 466
'list installed' command? · Issue #466 · sdkman/sdkman-cli
September 5, 2016 - Hi, How to find what is installed with Sdkman? There doesn't seem to be a sdk list installed commands, and just calling sdk list simply shows all potential SDKs to install. Thanks.
Author   sdkman
Discussions

sdkman! How to manage pre-existing JDK? - Stack Overflow
Using java version 17.0.4.1-Bell ... Not using any version of java john@NUC8i3BEH:~$ ... Save this answer. ... Show activity on this post. ... When I was in your situation, just after "installing" local versions to sdkman, use worked, but list and current didn't show the local ... More on stackoverflow.com
🌐 stackoverflow.com
Getting started with SDKMAN! – Manage Java, Maven, Gradle versions with ease
I love sdkman!!! sdk install java 23.0.2-amzn sdk install maven sdk install gradle so easy!!! More on reddit.com
🌐 r/java
39
85
April 20, 2025
sdk list java --all
I wanted to be able to list all java version by adding the "--all" option as was discussed already on the interwebs. sdk list java --all This would ignore the visible flag. I figured I'd give it a try, but then found out Sdkman is writte... More on github.com
🌐 github.com
24
March 26, 2021
How do I list all versions of Java available for install in sdkman? - Stack Overflow
On a newly installed Ubuntu 18.04 box with sdkman I only get a subset of the java versions available on my other (old) Ubuntu 18.04 box. Both are running SDKMAN 5.7.3+337. What am I missing? I ch... More on stackoverflow.com
🌐 stackoverflow.com
🌐
SDKMAN!
sdkman.io › usage
Usage | SDKMAN! the Software Development Kit Manager
Language Specification and the Java Virtual Machine Specification. ... This will result in a list view showing the available, local, installed and current versions of the SDK.
🌐
Opensource.com
opensource.com › article › 22 › 3 › manage-java-versions-sdkman
Manage Java versions with SDKMan | Opensource.com
March 15, 2022 - Now when you want to install a version of Java, you can do it using SDKMan. ... $ sdk list java ================================================= Available Java Versions for Linux 64bit ================================================= Vendor | Version | Dist | Identifier ------------------------------------------------- Gluon | 22.0.0.3.r17 | gln | 22.0.0.3.r17-gln | 22.0.0.3.r11 | gln | 22.0.0.3.r11-gln GraalVM | 22.0.0.2.r17 | grl | 22.0.0.2.r17-grl | 21.3.1.r17 | grl | 21.3.1.r17-grl | 20.3.5.r11 | grl | 20.3.5.r11-grl | 19.3.6.r11 | grl | 19.3.6.r11-grl Java.net | 19.ea.10 | open | 19.ea.10-open | 18 | open | 18-open | 17.0.2 | open | 17.0.2-open | 11.0.12 | open | 11.0.12-open | 8.0.302 | open | 8.0.302-open [...]
🌐
Baeldung
baeldung.com › home › devops › guide to sdkman!
Guide to SDKMAN! | Baeldung
November 13, 2025 - Moreover, it will update environment variables so that we can use Java in the terminal immediately. We can verify the status and the usage of any version by using the list command.
Find elsewhere
🌐
Reddit
reddit.com › r/java › getting started with sdkman! – manage java, maven, gradle versions with ease
r/java on Reddit: Getting started with SDKMAN! – Manage Java, Maven, Gradle versions with ease
April 20, 2025 -

I put together a beginner-friendly guide on SDKMAN!, a super handy tool for managing parallel versions of Java SDKs, Maven, Gradle, and many other development tools right from your terminal.

If you've ever struggled with switching between Java versions for different projects, SDKMAN! can really simplify your workflow.

In the post, I cover:

  • What SDKMAN! is and why it’s useful.

  • How to install it.

  • How to install and switch between SDKs.

  • Tips for setting a default version.

Hope it helps someone!

🌐
GitHub
github.com › sdkman › sdkman-candidates › issues › 25
sdk list java --all · Issue #25 · sdkman/sdkman-candidates
March 26, 2021 - sdkman_list.sh __sdkman_list_versions needs to recognize the --all and put that into the querystring · JavaListController needs to get "all" as a parameter, and decide to either call findAllVisibleVersionsByCandidatePlatform or findAllVersionsByCandidatePlatform.
Author   sdkman
🌐
SDKMAN!
sdkman.io › jdks
JDK Distributions | SDKMAN! the Software Development Kit Manager
SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on most Unix based systems.
🌐
Medium
medium.com › @layani.malsha › use-multiple-java-versions-using-sdkman-ef56d71fc3ce
Use Multiple Java versions using SDKMAN | by Layani Malsha | Medium
May 9, 2023 - Use the below command to initialize the SDKMAN on your system. ... You can check the version with the below command. ... Once the installation is complete, you can use the SDK command to manage your SDKs. ... You can list the available Java versions that can be installed using SDKMAN by using ...
🌐
Cescoffier
cescoffier.github.io › quarkus-llm-workshop › appendixes › installing-jdk
Installing Java 17.0.9 - Quarkus LLM Workshop
using the list command. The result is a table of entries grouped by the vendor and sorted by version: ... If you have any Java candidate installed, you should see installed in the Status column. If you don’t have any Java candidate installed, use SDKMAN!
🌐
SDKMAN!
sdkman.io
Home | SDKMAN! the Software Development Kit Manager
Formerly known as GVM, the Groovy enVironment Manager, SDKMAN! draws inspiration from familiar tools like apt, pip, RVM, and rbenv and even Git. Think of it as your helpful toolkit friend, ready to streamline SDK management for you. 🛠️ · Get started now! Go on then, paste and run the following in a terminal: ... Simplifying life. No more hunting for downloads, extracting archives, or tinkering with HOME and PATH environment variables. Install Software Development Kits for the JVM such as Java, Scala, Kotlin and Groovy.
🌐
Java Code Geeks
javacodegeeks.com › home › core java
Manage multiple Java SDKs with SDKMAN! with ease - Java Code Geeks
January 7, 2020 - You can list, install, uninstall and set selected Java version as default with basic commands. ... The binaries of the installed Java versions can be found in the home SDKMAN!
🌐
SDKMAN!
sdkman.io › sdks
SDK Installation Candidates | SDKMAN! the Software Development Kit Manager
SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on most Unix based systems.
🌐
Mise-en-place
mise.jdx.dev › lang › java.html
Java | mise-en-place
May 18, 2026 - sudo mkdir /Library/Java/JavaVirtualMachines/openjdk-21.jdk sudo ln -s ~/.local/share/mise/installs/java/openjdk-21/Contents /Library/Java/JavaVirtualMachines/openjdk-21.jdk/Contents · Note: Not all distributions of the Java SDK support this integration (e.g liberica). The Java core plugin supports the idiomatic version files .java-version and .sdkmanrc.