Fork me on GitHub
#beginners
<
2024-01-11
>
leifericf21:01:35

Every time I'm on a new Mac, I struggle to figure out how to install Java. I finally took the time to write a little reminder to myself, and I thought I'd share it here, just in case it's useful to others. I use jEnv to more easily switch between Java versions. https://gist.github.com/leifericf/f61c60a9ab889ed752f969e9db2009a0

delaguardo21:01:57

thanks for the link. I used to have a similar setup but recently I switched to sdkman. https://sdkman.io/

👀 1
2
leifericf21:01:34

Cool, thanks for the tip! I'll check it out!

leifericf21:01:47

I added a comment to the Gist with a link to SDKMAN, just in case it's useful to others who find the Gist.

leifericf22:01:46

Dang, SDKMAN is nice! I'm using that now, too.

leifericf22:01:15

This goes to show why it's worth sharing stuff! Someone might show you an even better way.

✔️ 2
ballpointcarrot01:01:49

I'm partial to asdf for this type of environment prep: https://asdf-vm.com/

👀 1
jumar03:01:42

Would you mind elaborating why is sdkman better than jenv?