shyiko / jabba

(cross-platform) Java Version Manager
2.97k stars 193 forks source link

Index lacks non-suffix versions for adopt #769

Open no-preserve-root opened 3 years ago

no-preserve-root commented 3 years ago

For most JDKs, there is a version alias of form 1.x.y for the actual build-suffixed version 1.x.y-z, so, e.g. jabba install zulu@1.15 installs the latest available release of zulu 1.15.0, zulu@1.15.0-1.

These aliases are not available for adopt and adopt-openj9, which means that version matching is not available for these JDKs. Instead, jabba install adopt@1.15.0-1 must be called, while jabba install adopt@1.15 only throws an error (No compatible version found for adopt@1.15).

Please add these aliases to the version index.