Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Simplify build using java-locator #22

Open
wants to merge 1 commit into
base: hadoop-3.1.4
Choose a base branch
from

Conversation

EmilyMatt
Copy link

Using java-locator we no longer have to specify JAVA_HOME for a build, it can be done only at runtime(and preferably letting the Java application set it itself), this also resolves the various issues with jdk-8/11 and the varying file locations that have changed over the years, as it will search for the root java dir, which gives directly access to the headers, and only then searches for the libjvm recursively in directories within the root dir.

I've added the libjvm's path to the RPATH, for tests, this does not propagate to rlibs, so is only relevant for the test binary.

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