Jabba-Team / jabba

(cross-platform) Java Version Manager
Apache License 2.0
141 stars 11 forks source link

1.8.0_431 is not an acceptable version #51

Closed ren-142326 closed 3 weeks ago

ren-142326 commented 1 month ago

I manually installed oracle's jdk8U431, but I couldn't name it jdk@1.8.0_431

"_" This character does not seem to pass the version number specification check,

image

When I replace "_" with "-", the version number is verified,

image

But java -version outputs 1.8.0_431

image

So I hope "_" is also the correct version number character

patrick-mccourt commented 3 weeks ago

the semver package deals with version parsing, and _ isn't accepted by semver