Eclipse – unbound class path container error in eclipse

eclipse

I tried to import my project into ecclipse, but im get following error Description
Unbound classpath container: 'JRE System Library [jre1.5.0_16]' in project 'myproject',
How i can resolve this error

Best Answer

An unbounded classpath container for an Eclipse project implies that the JRE associated with the project is not available in the list of JREs available in the workspace. You will need to modify your Java build path (accessible via Project Preferences), to use a JRE definition that is valid in your workspace.

Eclipse - Edit JRE System Library

You can choose your workspace default JRE or an alternate JRE, or even a JRE that matches an execution environment (like Java 5 or Java 6).

Eclipse - JRE specification

Edit: As an alternative, you can add the missing JRE to your workspace. http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-add_new_jre.htm