We do target to JDK7. Class version 51.0 is Java 7 (https://en.wikipedia.org/wiki/Java_class_file#General_layout). You must still be using something before 7 in a place.
- Ian On Wed, Sep 2, 2015 at 12:06 PM, Khurram Faraaz <[email protected]> wrote: > The prerequisite mentioned on the documentation site says "1.7.0_13" > > https://asterix-jenkins.ics.uci.edu/job/asterix-test-full/site/asterix-doc/install.html > > On Wed, Sep 2, 2015 at 1:52 PM, abdullah alamoudi <[email protected]> > wrote: > >> You need to upgrade your JDK to 1.8. >> >> Cheers, >> Abdullah. >> >> On Wed, Sep 2, 2015 at 11:29 PM, Khurram Faraaz <[email protected]> >> wrote: >> >> > this is the version I am on >> > >> > Administrators-MacBook-Pro:incubator-asterixdb-hyracks kfaraaz$ git log >> > >> > commit 8b4b9d452e813c0107a2ad13d263fd3e1306d9e1 >> > >> > Author: Ian Maxon <[email protected]> >> > >> > Date: Tue Sep 1 19:04:05 2015 -1000 >> > >> > >> > [maven-release-plugin] prepare for next development iteration >> > >> > On Wed, Sep 2, 2015 at 1:28 PM, Khurram Faraaz <[email protected]> >> > wrote: >> > >> > > I am seeing a build failure on hyracks. Can someone please take a look. >> > > >> > > ---------- Forwarded message ---------- >> > > From: Khurram Faraaz <[email protected]> >> > > Date: Wed, Sep 2, 2015 at 10:22 AM >> > > Subject: hyracks mvn install failed >> > > To: Ian Maxon <[email protected]> >> > > >> > > >> > > Hello Ian, >> > > >> > > >> > > I tried to get source and build hyracks, however mvn install failed, is >> > > this a known thing or am I missing some steps/doing something wrong >> > > >> > > >> > > git clone >> > > >> https://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks.git >> > > >> > > cd incubator-asterixdb-hyracks/ >> > > >> > > incubator-asterixdb-hyracks kfaraaz$ pwd >> > > >> > > /Users/kfaraaz/uci/incubator-asterixdb-hyracks >> > > >> > > mvn clean >> > > >> > > mvn install >> > > >> > > ... >> > > >> > > [INFO] >> > > >> ------------------------------------------------------------------------ >> > > >> > > [INFO] BUILD FAILURE >> > > >> > > [INFO] >> > > >> ------------------------------------------------------------------------ >> > > >> > > [INFO] Total time: 55.466s >> > > >> > > [INFO] Finished at: Wed Sep 02 10:12:47 PDT 2015 >> > > >> > > [INFO] Final Memory: 21M/123M >> > > >> > > [INFO] >> > > >> ------------------------------------------------------------------------ >> > > >> > > [ERROR] Failed to execute goal >> > > org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) >> > on >> > > project hyracks-ipc: Execution default-test of goal >> > > org.apache.maven.plugins:maven-surefire-plugin:2.16:test failed: >> > > java.lang.UnsupportedClassVersionError: >> > > org/apache/hyracks/ipc/tests/IPCTest : Unsupported major.minor version >> > > 51.0; nested exception is java.lang.UnsupportedClassVersionError: >> > > org/apache/hyracks/ipc/tests/IPCTest : Unsupported major.minor version >> > 51.0 >> > > -> [Help 1] >> > > >> > > [ERROR] >> > > >> > > [ERROR] To see the full stack trace of the errors, re-run Maven with >> the >> > > -e switch. >> > > >> > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> > > >> > > [ERROR] >> > > >> > > [ERROR] For more information about the errors and possible solutions, >> > > please read the following articles: >> > > >> > > [ERROR] [Help 1] >> > > >> > >> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException >> > > >> > > [ERROR] >> > > >> > > [ERROR] After correcting the problems, you can resume the build with >> the >> > > command >> > > >> > > [ERROR] mvn <goals> -rf :hyracks-ipc >> > > >> > > >> > > Here is my maven and Java version >> > > >> > > >> > > incubator-asterixdb-hyracks kfaraaz$ mvn -version >> > > >> > > Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; >> 2013-02-19 >> > > 05:51:28-0800) >> > > >> > > Maven home: /Users/kfaraaz/apache-maven-3.0.5 >> > > >> > > Java version: 1.6.0_65, vendor: Apple Inc. >> > > >> > > Java home: >> > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home >> > > >> > > Default locale: en_US, platform encoding: MacRoman >> > > >> > > OS name: "mac os x", version: "10.10.3", arch: "x86_64", family: "mac" >> > > >> > > >> > > incubator-asterixdb-hyracks kfaraaz$ java -version >> > > >> > > java version "1.7.0_75" >> > > >> > > Java(TM) SE Runtime Environment (build 1.7.0_75-b13) >> > > >> > > Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode) >> > > >> > > Thanks >> > > Khurram >> > > >> > > >> > >> >> >> >> -- >> Amoudi, Abdullah. >>
