Open c4tachan opened 3 years ago
Sorry but 2.10 is not supported. vscode-java requires Java 11 at minimum to run. You need Gradle >= 4.7 so it can run with Java 11.
vscode-java is running Java 11, but gradlew is using Java 1.8, does that still affect the system?
Yes, because the Java language server running Java 11 is spawning the Gradle daemon from the same JVM, so it actually doesn't use 1.8 from CLI Gradle.
Forgive me if I'm beating a dead horse here, but how is it spawning a Gradle Daemon with Java 11's JVM if I don't have any global Gradle installations? (I'm only using the gradlew provided by the repo I'm working on)
Also, is there something in the logs that I overlooked that would have informed me of the Java Version mismatch?
It's running a Gradle daemon according to your wrapper properties, so 2.10. The gradle exception just says it couldn't start, but doesn't explicitly say it's because of an incompatible JVM (that's on Gradle itself, not the tools running it). Maybe Buildship (the Gradle integration project for Eclipse, that we build upon) could add another layer of validation before failing to run gradle, but you'd need to open a ticket in https://github.com/eclipse/buildship/issues.
[provide a description of the issue]
Environment
Steps To Reproduce
Current Result
No Java Projects are found
Expected Result
Gradle Projects are found
Additional Information
Is Gradle 2.10 not supported?