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

don't override JAVA_HOME env variable #1472

Merged
merged 1 commit into from Mar 15, 2024
Merged

Conversation

kasiaMarek
Copy link
Contributor

connected to: scalameta/metals#6204

@@ -40,7 +40,6 @@ export function getJavaConfig({
const extraEnv = {
...coursierRepositories,
...coursierMirrors,
JAVA_HOME: javaHome,
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should still set it if not available?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It shouldn't be needed, since we always fallback to checking system properties java home.

Copy link
Contributor

Choose a reason for hiding this comment

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

We can change that if it turns out to be a problem sure

@tgodzik tgodzik merged commit 7898403 into scalameta:main Mar 15, 2024
10 checks passed
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.

None yet

2 participants