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

Invalid runtime for JavaSE-1.8: The path (/usr/lib/jvm/java-8-openjdk) does not point to a JDK. #3745

Open
Lassebq opened this issue Aug 18, 2024 · 0 comments

Comments

@Lassebq
Copy link

Lassebq commented Aug 18, 2024

Invalid runtime for JavaSE-1.8: The path (/usr/lib/jvm/java-8-openjdk) does not point to a JDK.

Environment
  • Operating System: Alpine Linux edge
  • JDK version: openjdk version "1.8.0_402"
  • Visual Studio Code version: 1.89.1
  • Java extension version: v1.33.0
Steps To Reproduce
  1. Open a project with target JavaSE-1.8 or lower
  2. Notification pops out and the project gets built with a different JDK (OpenJDK 17 in my case)
Current Result

OpenJDK 8 shipped with the distro is not recognized as valid jvm

Expected Result

OpenJDK 8 shipped with the distro is recognized as valid jvm

Additional Informations

Other OpenJDK versions such as 17 and 21 are recognized properly and used in build

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

1 participant