Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse error: Unbound classpath container

Tags:

java

eclipse

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.

like image 823
user2279952 Avatar asked Apr 14 '13 16:04

user2279952


People also ask

Where is JRE system library located?

In 'Java Build Path'->'Libraries' tab, you will see the 'JRE System Library' displayed as shown below. Once you will expand the JRE system library folder, you will find the .


1 Answers

  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

like image 62
AllTooSir Avatar answered Sep 23 '22 12:09

AllTooSir