You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Deepak Kumar V (JIRA)" <ji...@apache.org> on 2013/10/13 08:59:41 UTC

[jira] [Resolved] (CASSANDRA-6189) Usability: Unable to start cassandra server

     [ https://issues.apache.org/jira/browse/CASSANDRA-6189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepak Kumar V resolved CASSANDRA-6189.
---------------------------------------

    Resolution: Not A Problem

Worked with 1.7
$ echo $JAVA_HOME
/usr/lib/jvm/java-7-oracle
$ java -version
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
deepakkv@ubuntu:~/ebay/softwares/apache-cassandra-2.0.1$ 


> Usability: Unable to start cassandra server 
> --------------------------------------------
>
>                 Key: CASSANDRA-6189
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6189
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: apache-cassandra-2.0.1
> java -version
> java version "1.6.0_45"
> Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
> Linux ubuntu 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Deepak Kumar V
>
> I was not able to run Cassandra server on environment described above.
> Exception:
>  bin/cassandra -f 
> xss =  -ea -javaagent:bin/../lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms2932M -Xmx2932M -Xmn600M -XX:+HeapDumpOnOutOfMemoryError -Xss256k
> 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)
> Could not find the main class: org.apache.cassandra.service.CassandraDaemon.  Program will exit.
> I was not able to find any solution for this in user mail archives.  
> User documentation(Getting started) can be updated (FAQ) with solution of above common error.
> If this is not the right place, please re-direct. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)