title: openjdk 1.7 in eclipse: operator is not allowed for source level below 1.7
body: <p>Eclipse gives me an error: </p>
  
  <pre><code>'&lt;&gt;' operator is not allowed for source level below 1.7 
  </code></pre>
  
  <p>I guess this is because it is not using java 1.7. Except that it is. At least openjdk 1.7 (my OS is OpenSuse 12.3).</p>
  
  <p>I switched back from kepler to juno to reduce some lags and try to figure out this bug as well, to no avail so far. </p>
  
  <p>Some things I have tried:
  - the default runtime for eclipse is opensdk 1.7 (says so in help, about, installation details)
  - project properties, java build -> library. I have manually added the opensdk location.</p>
  
  <p>I would install the oracle version, but there is only 1.6 available from the opensuse repository. I already tried installing the rpm offered by oracle, that didn't put itself in my path and kind of messed everything up, so I removed that again. </p>
  
  <p>It should work with openjdk as well no? Or do you think it has a bug?</p>
  
  <p>ps: junit also was not recognised, so I manually linked to the jar file. Perhaps this is relevant information.</p>