1

SDKMan has many more versions then that are shown when doing a 'sdk list'. I would like to see those as well, so I can install older versions. SDKMan's API seems to be selective in what it shows, but I cannot find any documentation on it. Based on inspecting the CLI sources I found these URLs:

To list all candidates, like maven, java, etc:

https://api.sdkman.io/2/candidates/all

To get versions for one candidates for one platform (e.g. maven on windows):

https://api.sdkman.io/2/candidates/maven/win/versions/all

The problem is some candidates, most notably java, do not return possible versions in that url. The response is empty.

What am I doing wrong or missing? How can I get all versions for all candidates?

tbeernot
  • 2,473
  • 4
  • 24
  • 31

0 Answers0