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

improvements for resolving java home #1465

Merged
merged 10 commits into from
Feb 28, 2024
Merged

Conversation

kasiaMarek
Copy link
Contributor

@kasiaMarek kasiaMarek commented Feb 27, 2024

connected to #1464
resolves: scalameta/metals#6168

path.join(javaHome, "bin", "jre", "java.exe"),
].filter(fs.existsSync);
path.join(javaHome, "bin", "java"),
path.join(javaHome, "bin", "jre", "java"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Actually, I think jre might be problematic and will not work for us.

): Promise<string | undefined> {
const fromEnvValue = await fromEnv(javaVersion);
const fromEnvValue = await fromEnv(javaVersion, outputChannel);
Copy link
Contributor

Choose a reason for hiding this comment

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

Any chance to forward coursier downloading information?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are forwarding courier downloading info.

@kasiaMarek kasiaMarek marked this pull request as ready for review February 28, 2024 11:35
@kasiaMarek kasiaMarek merged commit e53717d into scalameta:main Feb 28, 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.

Metals is not starting in vscode
2 participants