Installing Java in 2025, and Version Managers
blog.hakanserce.com
Installing Java in 2025, and Version Managers
1–10 of 65 posts
Re: Installing Java in 2025, and Version Managers
#2Re: Installing Java in 2025, and Version Managers
#3Re: Installing Java in 2025, and Version Managers
#4You don't need to globally install Apache-Commons, nor is there a "Apache Commons Version Manager" that you need to first install to then manage your different versions of Apache Commons. So why should the JVM need such a thing? Well with Mill, it doesn't
Re: Installing Java in 2025, and Version Managers
#5Re: Installing Java in 2025, and Version Managers
#6Re: Installing Java in 2025, and Version Managers
#7Happy sdkman user for many years.
1. brew install openjdk@
2. ln -s
3. /libexec/java_home -v
Afaik, with some aliases in you *shrc it basically reimplements sdkman, what else does it give you?
Re: Installing Java in 2025, and Version Managers
#8Happy sdkman user for many years.
Never understood why you’d use sdkman for Java. I just do: 1. brew install openjdk@ 2. ln -s 3. /libexec/java_home -v Afaik, with some aliases in you *shrc it basically reimplements sdkman, what else does it give you?
Re: Installing Java in 2025, and Version Managers
#91. No version manager, download and install manually. Not that hard, since it's just a zip file and maybe set JAVA_HOME envvar. If you need multiple versions to co-exist, skip this.
2. Use OS' "native" package manager. Brew, apt, chocolatey.
3. Generic package manager like asdf.
4. SDKMAN!, JBang, jEnv, jabba...
Deciding is easy. But remembering which one you used 6 months ago when you want to install another version...
Re: Installing Java in 2025, and Version Managers
#10Before even deciding which Java to install, you have to decide which _version managers_ to use: 1. No version manager, download and install manually. Not that hard, since it's just a zip file and maybe set JAVA_HOME envvar. If you need multiple versions to co-exist, skip this. 2. Use OS' "native" package manager. Brew, apt, chocolatey. 3. Generic package manager like asdf. 4. SDKMAN!, JBang, jEnv, jabba... Deciding i…