Gradle Error on building

Enonic version: YourEnonicVersion
OS: Windows 7

D:\Users\User\Dropbox\ENONICPROJECTS\apps\renegades>gradlew deploy
:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:compileJava’.

Could not find tools.jar

Where is tools.jar and how can I get it

tools.jar is part of the Java distribution and should be there. Do you have set your JAVA_HOME variable? See for similar issue.