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

Include the OpenJDK Java Runtime in VSIX package #887

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

christianhelle
Copy link
Owner

@christianhelle christianhelle commented May 6, 2024

This pull request includes the Java Runtime to version 21.0.3+9 in the VSIX package so users no longer have to concern themselves with installing Java to use the Visual Studio extension

The downside of this is that the VSIX file size is now over 200 MB

Changes:

  • Added Adoptium OpenJDK 21.0.3+9 Java Runtime
  • Included Java Runtime binaries in VSIX package
  • Included Java Runtime libraries in VSIX package
  • Included Java Runtime JVM runtime in VSIX package
  • Included Java Runtime security binaries in VSIX package
  • Used java.exe included in VSIX package
  • Included Java Runtime configurations in VSIX package

@christianhelle christianhelle self-assigned this May 6, 2024
@christianhelle christianhelle added enhancement New feature or request .NET Pull requests that update .net code labels May 6, 2024
Renamed `GetJavaPath()` to `GetInstalledJavaPath()` in `PathProvider` class and updated all references. Added `GetIncludedJavaPath()` method to `PathProvider` class to find Java executable in the "JRE" directory. Updated `JavaPathProvider.cs` to use these methods for finding Java executable path, defaulting to "java" if both methods fail. `JavaPath` property in `DefaultGeneralOptions`, `CustomPathOptions`, `GeneralOptionPage` classes now use `GetInstalledJavaPath()`. Updated `PathProviderTests` to test the new `GetInstalledJavaPath()` method.
Copy link

sonarcloud bot commented May 6, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
66.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant