Here is a stupid noob question. I installed Tomcat6 and java-6-oracle. I set the /env/environment to contain JAVA_HOME and JRE_HOME (and both point to the correct directory). However when I try and start tomcat6 it says:
no JDK found - please set JAVA_HOME
here is what my /etc/environment looks like:
JAVA_HOME="/usr/lib/jvm/java-6-oracle" JRE_HOME="/usr/lib/jvm/java-6-oracle/jre" FEDORA_HOME="/var/lib/fedora" CATALINA_HOME="/var/lib/tomcat6" JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=128m -Djavax.net.ssl.trustStore=/usr/local/fedora/server/truststore -Djavax.net.ssl.trustStorePassword=tomcat" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-oracle:/usr/lib/jvm/java-6-oracle/bin:/usr/lib/jvm/java-6-oracle/jre:/var/lib/fedora/server/bin:/var/lib/fedora/client/bin"
Where did I go wrong?