Comment by dboreham

15 hours ago

Happy sdkman user for many years.

Never understood why you’d use sdkman for Java. I just do:

1. brew install openjdk@<version>

2. ln -s <homebrew path> </Library/JavaVirtualMachines/>

3. /libexec/java_home -v <version>

Afaik, with some aliases in you *shrc it basically reimplements sdkman, what else does it give you?

  • This works if all you need is OpenJDK. Per the article, sdkman allows one to install and switch between different versions and brands of JDKs.

    • > Per the article, sdkman allows one to install and switch between different versions and brands of JDKs.

      OK but what benefit does that give? I hope we're not back to the bad old days of different apps needing different brands of JDK to run on.

      10 replies →