From user-return-36588-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Sep 18 03:34:51 2013 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63E231029F for ; Wed, 18 Sep 2013 03:34:51 +0000 (UTC) Received: (qmail 43964 invoked by uid 500); 18 Sep 2013 03:34:46 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 43905 invoked by uid 500); 18 Sep 2013 03:34:45 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 43895 invoked by uid 99); 18 Sep 2013 03:34:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 03:34:44 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [72.35.23.33] (HELO smtp-out2.electric.net) (72.35.23.33) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 03:34:37 +0000 Received: from [10.86.10.84] (helo=fuseout2d.electric.net) by bean.electric.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77) (envelope-from ) id 1VM8WZ-0001rh-V1 for user@cassandra.apache.org; Tue, 17 Sep 2013 20:33:55 -0700 Received: from mailanyone.net by fuseout2d.electric.net with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (MailAnyone extSMTP dbrosius@baybroadband.net) id 1VM8WZ-0004xq-4Y for user@cassandra.apache.org; Tue, 17 Sep 2013 20:33:55 -0700 Message-ID: <52391F16.7080209@mebigfatguy.com> Date: Tue, 17 Sep 2013 23:33:42 -0400 From: Dave Brosius User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: Unsupported major.minor version 51.0 References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------080709000906050707060107" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------080709000906050707060107 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cassandra-2.0 needs to run on jdk7 On 09/17/2013 11:21 PM, Gary Zhao wrote: > Hello > > I just saw this error. Anyone knows how to fix it? > > [root@gary-vm1 apache-cassandra-2.0.0]# bin/cassandra -f > xss = -ea -javaagent:bin/../lib/jamm-0.2.5.jar > -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms4014M > -Xmx4014M -Xmn400M -XX:+HeapDumpOnOutOfMemoryError -Xss180k > 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:632) > at java.lang.ClassLoader.defineClass(ClassLoader.java:616) > 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:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > Could not find the main class: > org.apache.cassandra.service.CassandraDaemon. Program will exit. > [root@gary-vm1 apache-cassandra-2.0.0]# java -version > java version "1.6.0_24" > Java(TM) SE Runtime Environment (build 1.6.0_24-b07) > Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode) > > Thanks > Gary --------------080709000906050707060107 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Cassandra-2.0 needs to run on jdk7




On 09/17/2013 11:21 PM, Gary Zhao wrote:
Hello

I just saw this error. Anyone knows how to fix it?

[root@gary-vm1 apache-cassandra-2.0.0]# bin/cassandra -f 
xss =  -ea -javaagent:bin/../lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms4014M -Xmx4014M -Xmn400M -XX:+HeapDumpOnOutOfMemoryError -Xss180k
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:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
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:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.apache.cassandra.service.CassandraDaemon.  Program will exit.
[root@gary-vm1 apache-cassandra-2.0.0]# java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

Thanks
Gary

--------------080709000906050707060107--