Error starting Tomcat7 “no JDK found – please set JAVA_HOME”

After I had set JAVA_HOME in the /etc/profile

export JAVA\_HOME=/usr/lib/jvm/java-7-oracle/bin/java  

But Tomcat wasn't happy with that. So I went to Tomcat configuration directly. File: /etc/default/tomcat7

\$ vim /etc/default/tomcat7  

\# The home directory of the Java development kit (JDK). You need at
\# JDK version 1.5. If JAVA\_HOME is not set, some common directories
\# OpenJDK, the Sun JDK, and various J2SE 1.5 versions are tried.