halcyon / asdf-java

A Java plugin for asdf-vm.
MIT License
460 stars 85 forks source link

Support for adoptium #158

Open NikolayMetchev opened 3 years ago

NikolayMetchev commented 3 years ago

adoptopenjdk has moved to adoptium (https://blog.adoptium.net/2021/08/adoptium-celebrates-first-release/) Any chance this plugin could start supporting the new JDKs?

a4z commented 3 years ago

Just wanted to ask the same question :- )

joschi commented 3 years ago

The OpenJDK distribution produced under the Adoptium top-level project is called Eclipse Temurin and it is already supported by asdf-java. 😉

Since August 2, 2021 to be exact: ff8769411864ecbf6950d2045b430ddf8241f7ab

# asdf list-all java temurin
temurin-8.0.302+8
temurin-11.0.12+7
temurin-16.0.2+7
yakimant commented 11 months ago

It has both names now, but probably one will be saved in the future:

❯ asdf list all java | grep '\-21.0.0+'
adoptopenjdk-21.0.0+35.0.LTS
adoptopenjdk-jre-21.0.0+35.0.LTS
temurin-21.0.0+35.0.LTS
temurin-jre-21.0.0+35.0.LTS
vmrvictor commented 10 months ago

for some reason temurin 8 was removed?

vmrvictor commented 10 months ago

Sorry, I see now that it depends on the platform we are working on, and for ARM is not being supported https://adoptium.net/en-GB/supported-platforms/

for some reason temurin 8 was removed?