Building Apache Ignite's latest release is failing with following error :
WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
[INFO] ------------------------------------------------------------------------
[ERROR] You are trying to compile Apache Ignite with inappropriate JDK version!
[ERROR] Detected JDK Version: pxa6480sr3fp12-20160919_01 (SR3 FP12)
[ERROR] JDK version should be 1.7.0-* or >= 1.8.0-u40.
[INFO] ------------------------------------------------------------------------
However when I check JDK version, I see I am using IBM JDK 1.8 which clearly meets JDK requirement mentioned in the documents.
[user@machine apache-ignite-1.9.0-src]$ /opt/ibm/java-x86_64-80/bin/java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build pxa6480sr3fp12-20160919_01(SR3 FP12))
IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20160915_318796 (JIT enabled, AOT enabled)
J9VM - R28_Java8_SR3_20160915_0912_B318796
JIT - tr.r14.java.green_20160818_122998
GC - R28_Java8_SR3_20160915_0912_B318796_CMPRSS
J9CL - 20160915_318796)
JCL - 20160914_01 based on Oracle jdk8u101-b13
Has anyone tried this before? Will I need to force Oracle JDK to make it work?