In most cases, after installing Eclipse, eclipse.ini changes. If you change jdk in eclipse.ini, then eclipse will use this jdk by default.
Say you are installing a new version of Eclipse and you forgot to change the eclipse.ini associated with jdk. Then Eclipse will find jdk for you. Let's say this is java 1.6 that was automatically detected (you did nothing).
If you use maven (M2E) and you are referencing 1.7 jdk, you will see a disappointing message. But usually it does not appear because you are setting up the correct jdk in eclipse.ini.
That was my case. I made a link to pom on jdk that was not configured in Eclipse.
In the screenshot you can see that 1.7 is configured and seen by Eclipse. In this case you should make a link to pom in jre compatible with 1.7! If not β disappointing message!

Rudy Vissers Aug 05 '14 at 13:16 2014-08-05 13:16
source share