shyiko / jabba

(cross-platform) Java Version Manager
3.01k stars 196 forks source link

Readme needs updated #493

Open SgtPooki opened 5 years ago

SgtPooki commented 5 years ago

the readme says one example command is jabba install 1.8 but this does not work:

 $ jabba install 1.8
No compatible version found for 1.8
Valid install targets: 1.12.0, 1.12.0-2, 1.6.65, adopt@1.12.33-0, adopt@1.12.0-2, adopt@1.12.0-1, adopt@1.11.28-0, adopt@1.11.0-4, adopt@1.11.0-3, adopt@1.11.0-2, adopt@1.11.0-1, adopt@1.10.0-2, adopt@1.9.181-0, adopt@1.8.222-10, adopt@1.8.212-04, adopt@1.8.212-03, adopt@1.8.202-08, adopt@1.8.192-12, adopt@1.8.181-13, adopt@1.8.172-11, adopt-openj9@1.12.33-0, adopt-openj9@1.12.0-1, adopt-openj9@1.11.0-4, adopt-openj9@1.11.0-3, adopt-openj9@1.11.0-2, adopt-openj9@1.11.0-1, adopt-openj9@1.8.222-10, adopt-openj9@1.8.212-04, adopt-openj9@1.8.212-03, adopt-openj9@1.8.202-08, amazon-corretto@1.11.0-4.11.1, amazon-corretto@1.8.222-10.1, graalvm@19.1.1, graalvm@19.1.0, graalvm@19.0.2, graalvm@19.0.0, graalvm@1.0.0-16, graalvm@1.0.0-15, graalvm@1.0.0-14, graalvm@1.0.0-13, graalvm@1.0.0-12, graalvm@1.0.0-11, graalvm@1.0.0-10, graalvm@1.0.0-9, graalvm@1.0.0-8, graalvm@1.0.0-7, graalvm@1.0.0-6, graalvm@1.0.0-5, liberica@1.12.0, liberica@1.12.0-1, liberica@1.12.0-0, liberica@1.11.0, liberica@1.11.0-3, liberica@1.11.0-2, liberica@1.11.0-1, liberica@1.8.212, liberica@1.8.202, liberica@1.8.192, openjdk@1.14.0, openjdk@1.13.0, openjdk@1.13.0-30, openjdk@1.12.0, openjdk@1.12.0-2, openjdk@1.11.0, openjdk@1.11.0-2, openjdk@1.11.0-1, openjdk@1.10.0, openjdk@1.10.0-2, openjdk@1.10.0-1, openjdk@1.9.0, openjdk@1.9.0-4, zulu@1.12.0, zulu@1.12.0-1, zulu@1.11.0, zulu@1.11.0-3, zulu@1.11.0-2, zulu@1.11.0-1, zulu@1.10.0, zulu@1.10.0-2, zulu@1.10.0-1, zulu@1.9.0, zulu@1.9.0-7, zulu@1.9.0-4, zulu@1.9.0-1, zulu@1.9.0-0, zulu@1.8.212, zulu@1.8.202, zulu@1.8.201, zulu@1.8.192, zulu@1.8.181, zulu@1.8.172, zulu@1.8.163, zulu@1.8.162, zulu@1.8.152, zulu@1.8.144, zulu@1.8.131, zulu@1.8.121, zulu@1.8.92, zulu@1.8.91, zulu@1.8.72, zulu@1.8.71, zulu@1.7.222, zulu@1.7.211, zulu@1.7.201, zulu@1.7.191, zulu@1.7.181, zulu@1.7.171, zulu@1.7.161, zulu@1.7.154, zulu@1.7.141, zulu@1.7.131, zulu@1.7.101, zulu@1.7.95

Does fuzzy matching not work?

SgtPooki commented 5 years ago

It doesn't seem to work for use either.

screenshot
 ~                                                                                                                                   ✔  233  09:53:24
 $ jabba use 1.8
1.8 isn't installed

 ~                                                                                                                                 1 ↵  234  09:53:27
 $ jabba ls
1.6.65
openjdk@1.11.0
openjdk@1.10.0
zulu@1.8.212
zulu@1.7.222

 ~                                                                                                                                   ✔  235  09:53:31
 $ jabba --version
0.11.2