Check line 151 in your cassandra file. It probably mentions where to look for java as Johan mentions below.
Sent from my iPhone > On 02-Oct-2014, at 12:50 pm, Johan Edstrom <seij...@gmail.com> wrote: > > Looks like the Java binary can't be found, check your $PATH Johan Edstrom - > via HopOn October 2, 2014 at 6:56 GMT, Sunil Singh > <developersunilj...@gmail.com> wrote:Can you past full stack trace and > Cassandra Log in Log Directory , It isun-clear what went wrong at you end.On > 2 October 2014 12:13, Vishanth Balasubramaniam <vishan...@wso2.com>wrote:> > Hi,>> I am trying to run cassandra in my virtual machine and I am getting > the> following error.>> root@instance-00000001:/opt/cassandra/bin# > ./cassandra> xss = -ea -javaagent:./../lib/jamm-0.2.5.jar > -XX:+UseThreadPriorities> -XX:ThreadPriorityPolicy=42 -Xms1240M -Xmx1240M > -Xmn310M