I'm using Vscode with Java plugins. I used sdkman to install Java. I started a new project with Spring Initializer, using Java 21 and Gradle.
My JAVA_HOME
is following .sdkman/candidates/java/current
My java version in terminal is 21
When I am opening Java: Configure Java Runtime
option in vscode i am getting following message
There is no Java projects opened in the current workspace. Please try to reload the page or open a Java project.
I am using vim extension for vscode which I tried disabling and restarting according to this answer
but still getting the same error