Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

jpalus
Copy link

@jpalus jpalus commented Aug 25, 2025

Makes Java more consistent with other compilers and allows explicit
selection of Java compiler version and/or provider when building with
Meson.

Makes Java more consistent with other compilers and allows explicit
selection of Java compiler version and/or provider when building with
Meson.
@jpalus jpalus requested a review from jpakkane as a code owner August 25, 2025 12:34
@jpalus
Copy link
Author

jpalus commented Aug 25, 2025

For Gentoo failure created #14953.

@bonzini
Copy link
Collaborator

bonzini commented Aug 25, 2025

Could you please document a bit more how #14953 causes the failure, so that maybe we can find a workaround?

@jpalus
Copy link
Author

jpalus commented Aug 25, 2025

This PR adds JAVAC env variable to look for alternative Java Compiler binary but now when looking for Java Runtime binary (which is very much different from Compiler) meson also returns Compiler if JAVAC env var is set (which happens to be set in Gentoo image):

java = find_program('java')

pld-gitsync pushed a commit to pld-linux/meson that referenced this pull request Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants