It is nice to have Eclipse projects under source control but unless you setup your project correctly you will have a high risk of getting JRE errors like “unbound classpath container” when you share your project with other developers.
- For new projects make sure to select “Execution Environment JRE” when you create your projects – do not select project specific JRE or default JRE!
- For existing projects select package view, right click on JRE system library, select “Execution Environment” and the appropriate environment. F.x. JavaSE-1.6