-
Notifications
You must be signed in to change notification settings - Fork 220
Closed
Labels
Description
Describe the bug
I'm getting this error:
Spring Tools Language Server requires Java 11 or higher to be launched. Current Java C:\Program Files\Java\jdk1.8.0_281\bin\java.exe. (Note Java 8 can still be used in your own projects. Java 11 is only required to launch the Spring Tools Language Server process)
The problem is I've already set vscode's java.home property to point to my Java 11 installation but I noticed that the extension is using my computer's environment variable JAVA_HOME which is pointing to Java 8.
To Reproduce
- Install Spring Boot Tools
- Set computer environment variable JAVA_HOME to point to Java 8
- Set vscode's java.home property to point to Java 11
- Open a simple Spring Boot project
If this is how the extension should behave, is it possible to have it as a feature? To use vscode's java.home property when looking for Java 11 instead of the computer's environment variable JAVA_HOME