sdkman / sdkman-cli

The SDKMAN! Command Line Interface
https://sdkman.io
Apache License 2.0
5.97k stars 629 forks source link

Java.net 17.x.x-open is not listed #1213

Open ppazos opened 1 year ago

ppazos commented 1 year ago

Bug report Looking to install Java.net 17.x.x-open and sdk list java jumps from 11.x.x-open to 19.x.x-open

Why is 17 not listed?

To reproduce sdk list java

System info

Linux Mint 17.3

$ sdk version /home/pablo/.sdkman/libexec/version: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/pablo/.sdkman/libexec/version)

XiaoYang1127 commented 1 year ago

it is same error on my os

System info

install shell scripts

curl -s "https://get.sdkman.io" | bash

error info

marc0der commented 1 year ago

Hi @ppazos, you should be using Temurin for the open JDK (hosted by eclipse adoption), which in turn was the AdoptOpenJDK project before. The OpenJDK project is exclusively the home for EA releases now and should never be used for day-to-day development, even less so for deployment.

I'm currently doing a clean up of the Java list because it is hopelessly overpopulated right now. Expect to see lots more dead wood fall 🪓

ppazos commented 1 year ago

@marc0der thanks Marc, its kind of difficult with all the JDK options to know which one to use. I use OpenJDK just because it's what I use since Oracle complicated things with their JDK to download it without the need of an account.

marc0der commented 1 year ago

I know how you feel. All the options now are a bit overwhelming 😅

BTW, if you issue the command sdk install java, you will get the latest LTS 17 Temurin version if it helps.

Philzen commented 9 months ago

@ppazos & @XiaoYang1127 you might want to have a look at https://whichjdk.com/

Researching on the current state of java builds for an upcoming migration, i found out about the licensing mess (involving potential legal consequences) that "Open"JDK confronts my customers with. So i'm now switching everything to Temurin.

Thank you Oracle btw! W/o that messy licensing i'd never have discovered SDKMAN!, which really makes my day – everyday. :laughing: … and it uses Temurin as their default for a good reason.