Are you sure? Because the error message indicates that a class (IHyracksClientConnection) cannot be loaded, because it is compiled for Java 7 (version 51).
Jochen On Wed, Jul 8, 2015 at 11:43 PM, Steven Jacobs <[email protected]> wrote: > It is 1.7, more specifically: > > *Sisyphus ~/asterix ** $java -version* > > *java version "1.7.0_45"* > > *Java(TM) SE Runtime Environment (build 1.7.0_45-b18)* > > *Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)* > > It works fine for Asterix. That is the confusing part for me. > > Steven > > On Wed, Jul 8, 2015 at 1:00 PM, Till Westmann <[email protected]> wrote: > >> Which JDK do you use to run? >> The class that you are using here should have been compiled with JDK 7. >> >> Till >> >> > On Jul 8, 2015, at 9:40 PM, Steven Jacobs <[email protected]> wrote: >> > >> > Has anyone seen a similar error? I thought it was an issue with my >> working >> > local Hyracks copy, but the versions are different. I also cleared out >> the >> > directory in my .m2 so that it re-downloaded when I did an "mvn clean >> > package" but the error doesn't go away. >> > >> > *Sisyphus ~/asterix ** $JAVA_OPTS="-Xmx1024m" sh >> > ./vxquery/vxquery-cli/target/appassembler/bin/vxq test.xq* >> > >> > *Exception in thread "main" java.lang.UnsupportedClassVersionError: >> > edu/uci/ics/hyracks/api/client/IHyracksClientConnection : Unsupported >> > major.minor version 51.0* >> > >> > * at java.lang.ClassLoader.defineClass1(Native Method)* >> > >> > * at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)* >> > >> > * at java.lang.ClassLoader.defineClass(ClassLoader.java:621)* >> > >> > * at >> > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)* >> > >> > * at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)* >> > >> > * at java.net.URLClassLoader.access$000(URLClassLoader.java:58)* >> > >> > * at java.net.URLClassLoader$1.run(URLClassLoader.java:197)* >> > >> > * at java.security.AccessController.doPrivileged(Native Method)* >> > >> > * at java.net.URLClassLoader.findClass(URLClassLoader.java:190)* >> > >> > * at java.lang.ClassLoader.loadClass(ClassLoader.java:306)* >> > >> > * at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)* >> > >> > * at java.lang.ClassLoader.loadClass(ClassLoader.java:247)* >> > >> > Steven >> >> -- Any world that can produce the Taj Mahal, William Shakespeare, and Stripe toothpaste can't be all bad. (C.R. MacNamara, One Two Three)
