I have installed tomcat7 (using apt-get install command) and whenever I want to start tomcat7 it says :
- no JDK found - please set JAVA_HOME
I have set JAVA_HOME in my bash.bashrc and also in ~/.bashrc and when I issue "echo $JAVA_HOME" i clearly see that this variable is pointing to my jdk's root folder. Can someone help me with this please? Thanks

