I am trying to run tomcat in my CentOS linux server but not able to do it.
I have already installed the JDK and JRE in my server sucessfully and also added the enviroment variables
to /etc/profile and bash profile.
Now when i run the tomcat start command it gives following message
Using CATALINA_BASE: /home/strag/public_html/confluence
Using CATALINA_HOME: /home/strag/public_html/confluence
Using CATALINA_TMPDIR: /home/strag/public_html/confluence/temp
Using JRE_HOME: /usr/local/jre
Using CLASSPATH: /home/strag/public_html/confluence/bin/bootstrap.jar
./catalina.sh: line 297: /usr/local/jre/bin/java: No such file or directory
./catalina.sh: line 297: exec: /usr/local/jre/bin/java: cannot execute: No such file or directory
I have already set a different path for JRE_HOME but it shows the same path.
Anyone please help me which file i have to change to set the variable permanently.