I installed the Gradle for Java Extension in Visual Studio Code, but I get the following message:
But I have installed the Gradle version 7.3.3 and linked it in the following Environment variables:
When I change the environment variables (Path and JAVA_HOME) to a JDK 11 there is no such error message.
And I set the right path in the settings of the extension, but I always get this error message
Any ideas?
Thanks in advance.
Note, the VS Code settings take precedence over the environment variables.
To change the Gradle version of your project, turn to your current project\gradle\wrapper\gradle-wrapper.properties
, change the value of distributionUrl
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.