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

./.github/setup-java.sh fails on MacOS #2751

Closed
bharsaklemukesh975 opened this issue Apr 13, 2023 · 2 comments
Closed

./.github/setup-java.sh fails on MacOS #2751

bharsaklemukesh975 opened this issue Apr 13, 2023 · 2 comments

Comments

@bharsaklemukesh975
Copy link
Contributor

bharsaklemukesh975 commented Apr 13, 2023

Problem Description

./.github/setup-java.sh fails on MacOS

Proposed Resolution

The "update-java-alternatives" command is typically used on Linux systems that have multiple Java versions installed. We can ignore the "update-java-alternatives: command not found" error as it is not applicable to macOS.

Logs

> sudo update-java-alternatives -s java-1.8.0-openjdk-amd64
sudo: update-java-alternatives: command not found
@frankmorgner
Copy link
Member

The CI scripts are meant to be run on Ubuntu 20.04

@Jakuje
Copy link
Member

Jakuje commented Apr 19, 2023

As mentioned by Frank, this is meant for Ubuntu CI images. If you want to run it on mac, it will certainly require some modifications. Pull requests and CI improvements are welcomed.
Is there anything else to add to this issue or can you close it now?

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

No branches or pull requests

3 participants