title: jdk1.8.0 finished with non-zero exit value 2
body: <p>My error:</p>
  
  <pre><code>Error:Execution failed for task ':app:dexDebug'.
  &gt; com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_20\bin\java.exe'' finished with non-zero exit value 2
  </code></pre>
  
  <p>I have zero clue where this is coming from. I'm trying to integrate Stripe so possibly it could be a gradle issue.</p>
  
  <p>Stripe is a external library integrated.</p>
  
  <p>App build.gradle:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.1"
  
      defaultConfig {
          applicationId "com.weaverprojects.stripe2"
          minSdkVersion 21
          targetSdkVersion 23
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile project(':stripe')
      //compile 'com.android.support:support-v4:18.0.+'
  
      compile 'com.google.code.gson:gson:2.3'
      compile 'org.parceler:parceler:0.2.13'
      compile 'com.squareup.retrofit:retrofit:1.9.0'
      compile 'com.squareup:otto:1.3.6'
      compile 'com.squareup.okhttp:okhttp:2.3.0'
      compile 'com.squareup.okhttp:okhttp-urlconnection:2.3.0'
  }
  </code></pre>
  
  <p>Stripe library build.gradle:
      apply plugin: 'com.android.library'</p>
  
  <pre><code>android {
      compileSdkVersion 23
      buildToolsVersion "23.0.1"
  
      defaultConfig {
          minSdkVersion 21
          targetSdkVersion 23
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.stripe:stripe-java:1.15.1'
      //compile 'com.google.code.gson:gson:2.2.4'
  }
  </code></pre>
  
  <p>Top level build.gradle:</p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:1.2.3'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }  
  }
  </code></pre>
  
  <p>Settings.gradle:</p>
  
  <pre><code>include ':app', ':stripe'
  </code></pre>