Hi all I'm facing the following issue: ```> Task ...
# community-support
e
Hi all I'm facing the following issue:
Copy code
> Task :compileJava FAILED
[Incubating] Problems report is available at: file:///C:/Users/ealov/Downloads/ServerDemo/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> error: invalid source release: 21
Anyone have a lead I can chase down?
j
which version of JDK are you using?
e
Hey! Thanks for getting back to me. I was using version 20. I downloaded JDK 21 and changed my environment variable to the new location. All good now!
👍 1