I created a new root folder & it contains build.gradle with apply plugin ="java"
A folder src -> main -> java (contains code)
When I run gradle assemble
I'm getting this error
Could not create an instance of type com.sun.tools.javac.api.JavacTool.
:compileJava failed
:processResources UP-TO-DATE
Why is my build process not successful?(i'm on ubuntu 16.04)