0

I am experiencing the following error:

Error:Execution failed for task ':compileDebugJavaWithJavac'. annot 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.

I have set the JAVA_HOME and CLASSPATH environment variables. Please help!

  • 1
    there is a solution [here] (http://stackoverflow.com/questions/33055209/android-execution-failed-for-task-appcompiledebugjavawithjavac) I hope this help you. – Ray Lloy Oct 17 '16 at 08:24
  • what you take in path in environment variable? – Arjun saini Oct 17 '16 at 08:25
  • the environment variable: echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-7-openjdk-amd64/bin echo $JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64 javac at working. – user3059882 Oct 18 '16 at 01:41

0 Answers0