getting a JRE system library unbound error in build path, tried all suggestions from the below links, however did not work. I have jdk 1.6.0_29, I have also tried to install other versions but no help.
JRE System Library [WebSphere v6.1 JRE] (unbound) Eclipse error: Unbound classpath container Java - Unbounded classpath container Websphere V6 JRE Struggling to update JRE dependencies within Maven and Eclipse Unbound classpath container in Eclipse unbound class path container error in eclipse? Java Web Project Build Error unbound class path container error in eclipse?
maven compiler version is something like this:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> <encoding>${project.build.sourceEncoding}</encoding> <showDeprecation>true</showDeprecation> </configuration> </plugin>
After launching Eclipse IDE, right-click on a Java project and select 'Properties' option as shown below: Select 'Java Build Path' from 'Properties for Java Project' dialog as shown below. In 'Java Build Path'->'Libraries' tab, you will see the 'JRE System Library' displayed as shown below.
JRE System Library is added by Eclipse IDE automatically on creating Java Projects. JRE System Library implements the Java API in Eclipse IDE. So all the predefined functions of Java, can be accessed by the Java Programs written in Eclipse IDE because of this JRE System Library.
Usually it means that the classpathentry in the . classpath can't be resolved. I usually see this when opening a project that was created/updated with a different plugin (or version) defining the classpath container that is unbound.
Another option is:
Pointing the project at your installed JRE might be a better choice than renaming your JRE to match the old project code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With