Skip to content

Conversation

@ntkme
Copy link
Contributor

@ntkme ntkme commented Apr 18, 2025

JRuby does not require $JAVA_HOME/bin to be part of $PATH, therefore we should test java version with $JAVA_HOME/bin/java -version when $JAVA_HOME is defined.

See: ruby/ruby-builder#22 (comment)

Copy link
Member

@eregon eregon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ntkme
Copy link
Contributor Author

ntkme commented Apr 18, 2025

Pushed a commit to unset $JAVA_HOME before running test so that the existing tests are not affected by $JAVA_HOME which is set by default in GitHub Actions.

@eregon eregon merged commit f5b18da into rbenv:master Apr 18, 2025
4 checks passed
@ntkme ntkme deleted the java-home branch April 18, 2025 07:14
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