How do I use the latest version of Java in asdf without specifying a version number?
asdf install <name> latest
For example, I want to use Oracle GraalVM. I tried some operations but failed. How should I do it?
Here's what I did:
oracle-graalvm-21.0.1
This is the latest version and also what I need.
Try but failed:
asdf install java oracle-graalvm latest
Unknown release: oracle-graalvm
This works but I don't want to specify the version number:
asdf install java oracle-graalvm-21.0.1
I think asdf does not directly support the "latest" keyword for specific plugins. However, you can achieve a similar result using asdf-vm's plugin-alias feature.