how to fix built path error in eclipse while creating a project in new workspace

Bishant Bhattarai :

Whenever I try to create a workspace in eclipse this error pops up

I can no longer create a new workspace has everytime I do so this error pops up when creating a project. My old workspace works fine though.

I assume it's because of library as my old workspace and new workspace has different library.

Built path of the second image is the faulty one.

Old workspace library Faulty new workspace library Installed jre's

howlger :

You have to add the JDK (or JRE, but then you don't see the source code) in Window > Preferences: Java > Installed JREs first to be able to use the JRE system library in the Java Build Path.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=379377&siteId=1