Closed flxstr closed 8 years ago
Hello @flxstr , You should install Java SDK and change JAVA_HOME system variable with the value of JDK location (C:\Program Files\Java\jdk1.8.x)
Hi @jruckle @push1st1k !
Yep, seems like this issue occurs because JAVA_HOME env variable relates to JRE instead of JDK.
For resolve it - I think it will great to simple install JDK and put path to it in JAVA_HOME env variable.
Following instructions from Wiki: Build process details
$ git clone git@github.com:CenturyLinkCloud/clc-java-sdk.git $ cd clc-java-sdk $ gradle build
Results in:
C:\Users\mda\Development\clc-java-sdk>gradle build :compileJava UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :jar :assemble :compileTestJava UP-TO-DATE :processTestResources UP-TO-DATE :testClasses UP-TO-DATE :test UP-TO-DATE :check UP-TO-DATE :sdk:compileJava FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':sdk:compileJava'.
BUILD FAILED
Total time: 13.608 secs