Right-click the project name, get properties, then go through it (I think it might be build path) until you find the Java version your project is using. It might not be the same as what you are using for everything else.
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database