Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

getting JRE system library unbound error in build path

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> 
like image 368
user1328572 Avatar asked Oct 31 '13 00:10

user1328572


People also ask

Where is JRE system library located?

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.

What is JRE system library in Maven project?

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.

What does unbound mean in eclipse?

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.


1 Answers

Another option is:

  • Project > Properties > Java Build Path
  • Select Libraries tab
  • Select the troublesome JRE entry
  • Click Edit button
  • Choose an alternate JRE
  • Click Finish button

Pointing the project at your installed JRE might be a better choice than renaming your JRE to match the old project code.

like image 173
user3076252 Avatar answered Sep 17 '22 20:09

user3076252