asdf-java
asdf-java copied to clipboard
`asdf list all java 11` does not work
The official documentation says listing all versions should work:
asdf list all <name> <version>
# asdf list all erlang 17
However, this plugin says:
asdf list all java 11
# No compatible versions available (java 11)
If I change the version to zulu
for example, then it properly lists all available versions.
This also works if I only provide a prefix, like zu
- it matches all zulu
versions.
I would like to be able to use a version number to for listing / filtering.
Other filters would be nice2have as well - like filtering for architecture (x86_64, aarch64, etc.) .
i am facing the same issue
Agreed, but this may be down to weird java prefixes. For now, you can do asdf list all java | grep -- '-11.'
, for example.
You can search without grep
:
asdf list all java '.*-11'
I would like to be able to use a version number to for listing / filtering.
FWIW, the asdf-java plugin is a bit special since it's supporting multiple vendors, so the versions are actually similar to <vendor>-<version>
and not just <version>
.
In other words, asdf-vm itself would need to support this kind of setup (single plugin, multiple vendors and versions) and not just asdf-java.