title: Tomcat and java SDK problem
body: <p>I am trying to create a new dynamic web project in eclipse (in ubuntu). When I point to Target Runtime as Tomcat V 7.0 , I get the below warning</p>
  
  <pre><code>runtime "Apache Tomcat v7.0" is invalid. Tomcat requires a Java SDK in order to
  compile JSP files. Ensure that the JRE preference settings point to an SDK.
  </code></pre>
  
  <p>But the installed JREs already show java-6-openjdk . Am I missing something?</p>
  
  <p>Also when I ignored that and started Tomcat anyway , it started successfully in port 8080 . But when I said <a href="http://localhost:8080" rel="noreferrer">http://localhost:8080</a> , it threw 404 resource not found error . </p>
  
  <p>Do you see any problems here?</p>