On Tue, Feb 4, 2014 at 6:43 PM, Daniel Mikusa <dmik...@gopivotal.com> wrote:

> On Feb 4, 2014, at 3:23 PM, Franz <169...@gmail.com> wrote:
>
> > On Tue, Feb 4, 2014 at 6:13 PM, Franz <169...@gmail.com> wrote:
> >
> >>
> >>
> >>
> >> On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas <ma...@apache.org> wrote:
> >>
> >>> On 04/02/2014 20:04, Franz wrote:
> >>>
> >>>> export JAVA_HOME="/opt/openemm/java"
> >>>> cd tomcat
> >>>> bin/startup.sh
> >>>
> >>> At this point use:
> >>> bin/catalina.sh run
> >>>
> >>> rather than
> >>> bin/startup.sh
> >>>
> >>> and report here what output you get.
> >>>
> >>>
> >> [root@ns3098622 tomcat]# bin/catalina.sh run
> >>
> >> Using CATALINA_BASE:   /opt/openemm/tomcat
> >> Using CATALINA_HOME:   /opt/openemm/tomcat
> >> Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp
> >> Using JRE_HOME:        "/opt/openemm/java"
> >> Using CLASSPATH:       /opt/openemm/tomcat/bin/bootstrap.jar
> >> bin/catalina.sh: line 305:
> >> /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: No such file or
> directory
> >> bin/catalina.sh: line 305: exec:
> >> /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: cannot execute: No
> such
> >> file or directory
> >>
> >> thanks
> >>
> >
> > But I do not understand what this error means and what I should do now
>
> You're setting JAVA_HOME as "/opt/openemm/java", quotes included.  Try
> setting it without quotes.
>
> Ex:  export JAVA_HOME=/opt/openemm/java
>
>
Yes, it works!! This was the problem: the quotes! Many thanks


> Also make sure that you can run the command "/opt/openemm/java/bin/java
> -version".  You should get the version info for your JVM.
>
>
Yes this works too
best Franz

Reply via email to