Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gradlew appengineEndpointsInstallClientLibs has error Execution failed for task ':compileJava'. > invalid source release: 1.7

I can't install the client libs. I always have this error.

:tangke-appengine:appengineDownloadSdk
:tangke-appengine:compileJava FAILED

FAILURE: Build failed with an exception.

What went wrong:

Execution failed for task ':tangke-appengine:compileJava'. invalid source release: 1.7

my java version is this.

java version "1.7.0_51"

Java(TM) SE Runtime Environment (build 1.7.0_51-b13)

Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

like image 361
Edgar Avatar asked Apr 15 '14 02:04

Edgar


1 Answers

In the setting search for the Target byte code version.

Intellij IDEA: Settings > Java Compiler

Or add the param manually as follows:

javac -target 1.7
like image 97
Gemasoft Avatar answered Nov 05 '22 19:11

Gemasoft