user2279952
user2279952

Reputation: 351

Eclipse error: Unbound classpath container

I recieved two error messages after I made my project:

  1. The project cannot be built until build path errors are resolved.

  2. Unbound classpath container: 'JRE System Library [OSGi/Minimum-1.2]' in project 'method_test'

I think that if I figure out the second error, the first one will go away. However, I am running eclipse Juno on a 10.5.8 Mac, and I cannot install the necessary JRE from the Oracle website, as they do not it compatible for Mac.

Upvotes: 17

Views: 32003

Answers (1)

AllTooSir
AllTooSir

Reputation: 49372

  1. Right click on the project
  2. Open Properties
  3. Select Java Build Path
  4. Select the JRE System Library under the Libraries tab .
  5. Click on Edit .
  6. Click on Alternate JRE .
  7. If Alternate JRE present , then Select it and hit Finish .
  8. If not present , then click on Installed JREs which opens a pop up.
  9. Click on Add .
  10. Select Standard VM and Click Next.
  11. Select the JRE Home , Navigate to JDK root and select that .
  12. Click on Finish .
  13. Select that in installed JREs.

Here is the link to JDK Mac Install

Upvotes: 32

Related Questions