Reputation: 25
I set up jdt.ls.java.home
propertie in settings and i chagned my JAVA_HOME
environment variable propertly, but my Gradle is throwing out this error:Gradle Build Error
There is also some sort of that error:
secound error
Upvotes: 1
Views: 2026
Reputation: 8431
You can specify a different java home to Gradle via User setting
java.import.gradle.java.home
.
jdt.ls.java.home
is used to launch the Java Language Server, and the extension had embedded a JRE to start the Java Language Server. So it doesn't matter, you can remove it.
And what's the value of C:\Programe Files\Eclipse Adoptiu..
? please make sure it's an executable java path.
Upvotes: 1