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
- Open a project with target JavaSE-1.8 or lower
- 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