shyiko / jabba

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

'...' is not a valid version #851

Closed tangjm closed 1 year ago

tangjm commented 1 year ago

I am currently running Ubuntu 20.04.4 LTS (GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64).

I tried installing jabba for managing my Java versions but ran into this issue:

When I run these commands in bash

export JABBA_VERSION=...
curl -sL https://github.com/shyiko/jabba/raw/master/install.sh | bash && . ~/.jabba/jabba.sh

I get the following error message:

'...' is not a valid version.
GraxMonzo commented 1 year ago

Hi, @tangjm Replace ... with valid jabba version like this: export JABBA_VERSION=0.11.2

tangjm commented 1 year ago

Hi, @tangjm Replace ... with valid jabba version like this: export JABBA_VERSION=0.11.2

Thanks! I thought '...' stood for some bashism, this makes more sense now.

JimLynchCodes commented 11 months ago

@GraxMonzo I also think it is terrible user experience to have a half-complete command in the readme. 😔