shyiko / jabba

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

'' is not a valid version. #608

Open chestnutqiang opened 4 years ago

chestnutqiang commented 4 years ago

Mac OS Catalina 10.15.2

curl -sLk https://github.com/shyiko/jabba/raw/master/install.sh | bash && . ~/.jabba/jabba.sh

show below:

'' is not a valid version.

I review the source code.

solution :

1.  export JABBA_VERSION="0.11.2"

again execute

2. curl -sLk https://github.com/shyiko/jabba/raw/master/install.sh | bash && . ~/.jabba/jabba.sh

done

ghost commented 3 years ago

@willcohen this can be closed now.