I am trying to run Tomcat 7.0.5 on Red Hat Linux using Java 1.6.0_22. Using
the installation instructions, I proceed to compiling jsvc but when I try to
execute the command:
./bin/jsvc -cp ./bin/bootstrap.jar -outfile ./logs/catalina.out -errfile
./logs/catalina.err org.apache.catalina.startup.Bootstrap
I get the error:
Cannot find any VM in Java Home /home/dbadmin/java6/jdk1.6.0_22
My JAVA_HOME is set to: /home/dbadmin/java6/jdk1.6.0_22
My CATALINA_HOME is set to: /home/dbadmin/apache-tomcat-7.0.5
When I run the command "java -version", I get the output:
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
Otherwise, javac and other commands work just fine. I would really appreciate
any help.
Thanks in advance!