We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It simply finds the first available JDK in below order:
Now since it requires JDK 11+, a broken case is:
java.home
It will pick JDK 8, and request users to install JDK 11+.
Add new options to find-java-home, like minVersion (requires the library to check version), or request the library to return all possible java homes.
minVersion
The text was updated successfully, but these errors were encountered:
ultimately it would be perfect to provide new APIs in upstream, tracked in jsdevel/node-find-java-home#28
Sorry, something went wrong.
A good finding, looks like this is not a rare case.
Eskibear
Successfully merging a pull request may close this issue.
Context
It simply finds the first available JDK in below order:
Steps
Now since it requires JDK 11+, a broken case is:
java.home
not set (for most new users)It will pick JDK 8, and request users to install JDK 11+.
Possible solution
Add new options to find-java-home, like
minVersion
(requires the library to check version), or request the library to return all possible java homes.The text was updated successfully, but these errors were encountered: