Build path specifies execution environment

This "warning" in Eclipse had me baffled on exactly what it was wanting and more specifically on where this setting was that needed to be modified.

Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment..

So I thought this is perfect additional documentation is definitely needed out on the net, so here is my chance to add to it, and hopefully help someone in the future when they find this cryptic message. I had just been making the change over in my Eclipse RCP project to use Java 1.7 instead of Java 1.6, when this Warning from Eclipse started showing up in the my Problems View. The solution was to access the properties for that project, change to the Java Build Path, and then to the Libraries Tab, and remove the 1.6 libraries and add the the 1.7 libraries. 

 Simple but a bit cumbersome to figure out sometime, at least when your working a deadline.

Ghostprogrammer

I am known for being able to quickly decipher difficult problems to assist development teams in producing a solution. I have been called upon to be the Team Lead for multiple large-scale projects. I have a keen interest in learning new technologies, always ready for a new challenge.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: