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

Improve java install robustness #13

Merged
merged 5 commits into from
Sep 19, 2024
Merged

Improve java install robustness #13

merged 5 commits into from
Sep 19, 2024

Conversation

ajfabbri
Copy link
Collaborator

@ajfabbri ajfabbri commented Sep 18, 2024

We ran into issues installing and running java when we used this on some different machines.

This PR makes the java install more robust:

  • Discover and use path to java executable.
  • Ensure libjava.so is in library path.

The code could use some refactoring, but this is passing on multiple OS's, with and without an existing java install.

Fixes #10

@ajfabbri ajfabbri merged commit 8581850 into main Sep 19, 2024
4 checks passed
@ajfabbri ajfabbri deleted the af/java2 branch September 19, 2024 00:01
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.

java not found in path after toolchain install
2 participants