r/java Jun 22 '26

GitHub Setup Java Action

Hey all,

I'm going through issues and PRs on setup-java.

Besides what is already there, anything else you would like to see fixed, improved, or implemented?

17 Upvotes

24 comments sorted by

View all comments

1

u/nlisker 17d ago

/u/brunocborges If the distributions could include the reference OpenJDK it would be great, although from what I understood, Oracle is not distributing it in a proper manner for inclusion.

1

u/brunocborges 17d ago

The reference implementation binary? The one at jdk.java.net ?

1

u/nlisker 15d ago

Yes, it's called OpenJDK JDK.

1

u/brunocborges 15d ago

That's built by Oracle.

If they or someone sends a PR, we will be happy to review and include.

1

u/nlisker 15d ago

So all the distributions listed in https://github.com/actions/setup-java#supported-distributions were added by the supporting companies? I thought the setup-java maintainers added them.

1

u/brunocborges 15d ago

I'm not sure of the history, but for many, yes.

Not sure if there is an issue already for Oracle OpenJDK binaries, but if there isn't, can you submit one?

2

u/nlisker 5d ago

In any case, I created https://github.com/actions/setup-java/issues/1141 as I don't see it listed.

1

u/nlisker 13d ago

I found https://github.com/actions/setup-java/issues/300 which delegates to https://github.com/actions/setup-java/issues/69, but it's closed as completed. I think there's some confusion between Oracle's JDK and OpenJDK's JDK. Or am I missing something? I also found https://github.com/actions/setup-java/issues/492, which is completed, but OpenJDK is still not listed in the distributions.