5 ms·
So is asdf good then? I have been using SDKMAN! to install JDKs, but i noticed that Gradle will automatically detect JDKs installed using SDKMAN!, asdf, and Jab
by twic 5y ago
So is asdf good then? I have been using SDKMAN! to install JDKs, but i noticed that Gradle will automatically detect JDKs installed using SDKMAN!, asdf, and Jabba [1], which signals to me that the other two are worth a look. Although now i dig into it, asdf does not have a first-party Java plugin, so the support is through a third-party plugin maintained by three people and a robot [2].
[1] https://docs.gradle.org/current/userguide/toolchains.html#sec:auto_detection https://docs.gradle.org/current/userguide/toolchains.html#se...
[2] https://github.com/halcyon/asdf-java/graphs/contributors https://github.com/halcyon/asdf-java/graphs/contributors
- SingAlong 5y agoI wouldn't go by whether a plugin is first-party or third-party. The only plugins under the asdf-vm github org are for Ruby, Node.js, Elixir and Erlang, because those are the only languages I needed.
- vips7L 5y agoJabba never worked on windows for me. So now I just install jdks globally via scoop and have a powershell plugin that automatically detects a .env file in each directory.
- e12e 5y agoTBH I've had a bit mixed experiences with asdf and java (mostly big enterprise apps like Oracle SQL Developer needing some hand-holding to work properly, and issues with http kit intercepting network traffic used by SoapUI). Not sure the error lies at the feet of asdf, though. For ruby/node it's a relief to be able to easily "activate" a certain version of ruby and a certain version of nodejs - at the same time, via simply "asdf local ruby ... and asdf local node ...".