incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MichaƂ Michalski <mich...@opera.com>
Subject Re: Cassandra 2 vs Java 1.6
Date Mon, 22 Jul 2013 08:14:40 GMT
I believe it won't run on 1.6. Java 1.7 is required to compile C* 2.0+ 
and once it's done, you cannot run it using Java 1.6 (this is what 
"Unsupported major.minor version" error tells you about; java version 50 
is 1.6 and 51 is 1.7).

M.

W dniu 22.07.2013 10:06, Andrew Cobley pisze:
> I know it was decided to drop the requirement for Java 1.6 for cassandra some time ago,
but my question is should 2.0.0-beta1<http://www.apache.org/dyn/closer.cgi?path=/cassandra/2.0.0/apache-cassandra-2.0.0-beta1-bin.tar.gz>
run under java 1.6 at all ?  I tried and got the following error:
>
>
> macaroon:bin administrator$ Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/cassandra/service/CassandraDaemon : Unsupported major.minor version 51.0
>      at java.lang.ClassLoader.defineClass1(Native Method)
>      at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>      at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>      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)
>
> macaroon:bin administrator$ java -version
> java version "1.6.0_43"
> Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-10M4203)
> Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode)
> macaroon:bin administrator$
>
> It's fine by me if thats the case !
>
> Andy
>
>
> The University of Dundee is a registered Scottish Charity, No: SC015096
>


Mime
View raw message