title: How can I use Java 7 with Eclipse Indigo 3.7.1
body: <p>From what I understand <a href="http://www.infoq.com/news/2011/09/eclipse-indigo-371" rel="nofollow noreferrer">Eclipse Indigo 3.7.1</a> should now have support for Java 7.</p>
  
  <p>I downloaded Eclipse 3.7.1. and JDK 1.7.0 and added JRE7 in the settings in Eclipse. Then I created a new project using JRE7 and wrote a short Java 7 program:</p>
  
  <pre><code>public class Test7 {
  
      public static void main(String[] args) {
          String k = "Hello";
          switch(k) {
          case "World": System.out.println("World Hello");
              break;
          case "Hello": System.out.println("Hello World");
              break;
          }
      }
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/NPYAz.png" alt="Start a Java 7 project"></p>
  
  <p>But I get an error when I try to use a String in a Switch statement. The error in Content assist looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/xmgEw.png" alt="Content assist error"></p>
  
  <p>Have I done anything wrong or doesn't Eclipse 3.7.1 have support for Java 7 yet? Is there any settings in Eclipse I need to change?</p>