File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse" Watch "eclipse" New topic


vasu maj
Ranch Hand

Joined: Jul 12, 2001
Posts: 396
I am getting this error when I tried to build my project in eclipse.

Please advise..


What a wonderful world!
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Check your project build path contains a "JRE System Library", and it is valid. You may have moved/uninstalled the JRE?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17280

You've become disconnected from your JRE. I finally quit doing that (I hope!). I believe that you'll achieve happiness if you go to the project properties dialog/Java Build Path, select Libraries, click "Add Library" and re-add the JRE you want (assuming you have more than one).

The master list of JRE's is maintained by the Window/Preferences/Java/Installed JREs dialog, but I hope you didn't zap that.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: eclipse
It's not a secret anymore!