Este es mi gradle y no puedo comstackr, ya que muestra Error Execution failed for task ': facebook: compileDebugJavaWithJavac'

Error: ejecución fallida para la tarea ': facebook: compileDebugJavaWithJavac'.

No se puede encontrar el comstackdor de sistema Java. Asegúrese de haber instalado un JDK (no solo un JRE) y configurado su variable de sistema JAVA_HOME para que apunte al directory correspondiente.

apply plugin: 'com.android.application' apply plugin: 'android' dependencies { compile project(':facebook') compile 'com.android.support:support-v4:21.0.3' compile 'com.android.support:appcompat-v7:21.0.3' compile 'com.google.android.gms:play-services-gcm:+' compile 'com.google.android.gms:play-services-ads:+' compile 'me.leolin:ShortcutBadger:1.1.4@aar' compile 'com.mcxiaoke.volley:library-aar:1.0.0' compile fileTree(dir: 'libs', include: ['*.jar']) } android { compileSdkVersion 21 buildToolsVersion "22.0.1" defaultConfig { applicationId "com.lagaikhai" minSdkVersion 14 targetSdkVersion 19 compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } } buildTypes { release { // This has been turn to false has produard gives errors while genrating signed apk all // though dontwan added to proguard-rules the apk genrate successfully but apk fails to open minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } packagingOptions{ exclude 'META-INF/LICENSE.txt' } }