halcyon/asdf-java

IntelliJ IDEA 2021.1 supports JDKs installed by asdf-java

Closed this issue ยท 5 comments

Not really an issue, bug report, or feature request.

I just wanted to leave this here. ๐Ÿ˜‰

Tweet about asdf-java support in IntelliJ IDEA 2021.1
Tweet: https://twitter.com/_asdf_vm/status/1379854390840979457

Can somebody confirm that this still works in 2022.1.1 release?
Mine doesn't display any of the JDKs installed by asdf, I still have to manually add them.

Or is there a specific asdf command that I need to run first?

Thank you, I must've missed it when I first encountered this problem couple days ago.

I'm curious, when IntelliJ does detect the asdf JDK installation, does it automatically respect the global configuration set by asdf or do I still need to set it manually? I must say it is unlike what I've experienced in Node.js environment where this thing is pretty straightforward.

it should automatic detect the directory under ~/.asdf/installs but there was a regression in one commit

until the fix is published: see the workaround in the issue / pull request with setting the environment variable

@muescha Thanks for spotting the mistake and sending the fix so quickly!

Are you familiar with the release cycle of IntelliJ? Will we receive this patch in regular channel anytime soon?