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

Reply via email to