foojayio / discoapi

The foojay discovery api (discoapi) is made to discover java packages (jre/jdk) from different distributions.
GNU General Public License v2.0
115 stars 14 forks source link

Incorrect JDK For Windows, Oracle Open JDK, 8.0.342 #104

Closed patrick-mccourt closed 1 month ago

patrick-mccourt commented 3 months ago

Hi,

I'm a maintainer over at https://github.com/Jabba-Team and a user has raised an issue installing Windows Openjdk 8.0.342, trying to figure out if I'm parsing the results from the API incorrectly.

I look at the pkg download redirect I have for Windows, Oracle Open jdk, 8.0.342 and it seems to point to a java 11 jdk.

Looking into where I could've gotten that from I see that for Windows, version 8.0.342, oracle openjdk I see there's two packages returned

https://api.foojay.io/disco/v3.0/packages/jdks?version=8.0.342&distribution=oracle_open_jdk&operating_system=windows

One of which has the filename "OpenJDK11U-jre-shenandoa…nux_11.0.11_5_ea.tar.gz" Should this be returned for the above api call?

HanSolo commented 3 months ago

Thanks for the heads up, will take a look at it asap 👍🏻

patrick-mccourt commented 1 month ago

This looks to be working now, thank you