Ok, so I downloaded Oracle Java and tried to compile and this was my answer:
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message: Detected JDK Version: 1.8.0-51 is not in the allowed range [1.7,1.8). Basically the same issue as the OpenJDK one. Any thoughts on addressing this? Thanks! On Wed, Jul 15, 2015 at 1:38 PM, John Omernik <[email protected]> wrote: > So I found this page: > http://drill.apache.org/docs/compiling-drill-from-source/ > > Is Oracle JDK really a requirement to build Drill? That seems odd. > > On Wed, Jul 15, 2015 at 1:35 PM, John Omernik <[email protected]> wrote: > >> Greetings All. I am trying to build Drill for using with MapR (on Mesos >> in Marathon, hence why I am not using the MapR Package). Based on the >> error, it looks like it's not parsing the Java version correctly for >> OpenJDK 1.8 (it sees version 1.8.0_45-internal outside the range of >> 1.7-1.8). Thoughts on this error and how I can proceed? Thanks! >> >> John >> >> >> These are the steps I am taking: >> >> First my java version: >> >> java -version >> >> openjdk version "1.8.0_45-internal" >> >> OpenJDK Runtime Environment (build 1.8.0_45-internal-b14) >> >> OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode) >> >> git clone https://github.com/apache/drill.git >> >> cd drill >> >> mvn -Pmapr clean package >> >> >> >> The error I am getting: >> >> [INFO] >> >> [INFO] --- maven-enforcer-plugin:1.3.1:enforce >> (validate_java_and_maven_version) @ drill-root --- >> >> [WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion >> failed with message: >> >> Detected JDK Version: 1.8.0-45 is not in the allowed range [1.7,1.8). >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Reactor Summary: >> >> [INFO] >> >> [INFO] Apache Drill Root POM ............................. FAILURE [ >> 32.370 s] >> > >
