This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes eclipse error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse error" Watch "eclipse error" New topic

eclipse error

prakash gangadhara

Joined: Feb 28, 2005
Posts: 4
When I try to import some packages by typing import java., the eclipse has to show the availbale packages with java. for import, but my eclipse says that "The compilation unit is not on the build path of a Java Project".
What could be the reason for this type of message.

Can any body help me out to fix this error?

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32628

Double check that the JRE is still on the build path for your project. You can check this by right clicking the project and selecting properties.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: eclipse error
It's not a secret anymore!