CenturyLinkCloud / clc-java-sdk

Apache License 2.0
6 stars 4 forks source link

Build instructions do not work #131

Closed flxstr closed 8 years ago

flxstr commented 9 years ago

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.

BUILD FAILED

Total time: 13.608 secs

push1st1k commented 9 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)

idrabenia commented 9 years ago

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.