简体   繁体   中英

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)

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM