I'm new to gradle so i was following the following tutorial : https://spring.io/guides/gs/gradle/#scratch
when i run the gradle task i can see that the java tasks are showing after creating a build.gradle with apply plugin: 'java' But when i use the command gradle build i get following error.
FAILURE: Gradle Build failed with an exception *what whent wrong: execution failed for task ':compileJava'. could not find tools.jar *try..
any ideas?