Could not find tools.jar when build gradle project

Viewed 14227

I try build gradle project and get error:

Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_144 contains a valid JDK installation.

I add to path

C:\Program Files\Java\jdk1.8.0_112\bin
C:\Program Files\Java\jre1.8.0_144\bin

when I write java and javac in console all works. But project not build

1 Answers
Related