title: Tomcat6 and Java 7
body: <p>In linux, is it possible to have a web application written using Java 7 be deployed on tomcat6? If so, what configuration needs to be modified to allow it to work?</p>
  
  <p>I have tried changing the <code>JAVA_HOME</code> variable in the <code>tomcat6.conf</code> file and restarting, but it is still using 1.6 according to the tomcat manager webpage, and only applications written in 1.6 or lower deploy correctly.</p>
  
  <p>I have both jdk 1.6 and 1.7 installed in different locations.</p>