In android studio i'm getting thi below error while running : In android studio i'm getting this error while running the project...

Error:Execution failed for task ':app:compileDebugJava'.
> Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory.