I need to run tomcat6 with Java 8 and keep Java 6 as the default JRE on CentOS.
I have succeeded on unpacking a tar version of tomcat6 on centOS and doing so, but when I use the yum package, for some reason, there is no catalina.sh and I cannot just run "catalina.sh" with JAVA_HOME set to whatever I want.
I have seen that on tomcat6.conf there is a variable called "JAVA_HOME" and I have set it to the right value, but it still uses java 6.
Can anybody help me?