shyiko / jabba

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

Does not support multiple Arch on Windows #840

Open dmarsh26 opened 2 years ago

dmarsh26 commented 2 years ago

We have builds on Windows that require native libs (dll) and therefore need to use either 32 bit x86 JDK or 64 bit x64 JDK.

Is this suppported?

It would be nice to be able to do:

PS C:\Windows\system32> jabba link system32@11.0.168 "C:\'Program Files (x86)'\'Eclipse Adoptium'\jdk-11.0.16.8-hotspot" and

PS C:\Windows\system32> jabba link system64@11.0.151 "C:\'Program Files'\Java\jdk-11.0.15.1"

Also it would be nice to support full version string from OpenJDK or Oracle which is 4 parts at least.

dmarsh26 commented 2 years ago

Also the 1.x nomenclature is deprecated since JDK 5, all modern JDK start with the new major version, 5, 6, 8, 9, 11, 17, 18 etc.

https://stackoverflow.com/questions/2411288/java-versioning-and-terminology-1-6-vs-6-0-openjdk-vs-sun

Not sure how best to address this for pre JDK 5 JDK, but it might be sensible to make this a special case.

Maybe support them simply as 1.2 = 2 and 1.4 = 4, nobody will care about other versions I suspect.