root@anuj-700-430qe:/usr/share/dse/bin# echo $JAVA_HOME

*/jdk1.8.0_25*


*which is the installation folder for jdk1.8.x(Sun/Oracle JDK)*

*and $JAVA_HOME/bin is also added to the path.*

On Fri, Jan 23, 2015 at 9:26 PM, Jacob Rhoden <jacob.rho...@me.com> wrote:

> What does this show?
>
>   ls $JAVA_HOME
>
> ______________________________
> Sent from iPhone
>
> > On 24 Jan 2015, at 2:18 pm, anujacharya11 . <anuj.acharya1...@gmail.com>
> wrote:
> >
> > I had installed DataStax Enterprise Cassandra on my Ubuntu Linux Desktop
> which is having Oracle/Sun JDK1.8.x. Setup JAVA_HOME correctly but when i
> am trying to start the service dse-i am getting this error:
> >
> >
> > I have setup JAVA_HOME in .bashrc and setup the path also.
> > Even after that i am getting this error:
> > root@anuj-700-430qe:/usr/share/dse/bin# sudo service dse start
> > log_daemon_msg is a shell function
> > Java executable not found (hint: set JAVA_HOME)
> > root@anuj-700-430qe:/usr/share/dse/bin#
> >
> >
> > why so?
> >
> > root@anuj-700-430qe:/usr/share/dse/bin# echo $JAVA_HOME
> > /jdk1.8.0_25
> > root@anuj-700-430qe:/usr/share/dse/bin# sudo service dse start
> > log_daemon_msg is a shell function
> > Java executable not found (hint: set JAVA_HOME)
> > root@anuj-700-430qe:/usr/share/dse/bin#
> >
> >
> > What i am doing it wrong...i uninstalled Cassandra and re-installed it
> but the same issue.
> >
> > Please help
>

Reply via email to