jQuery in Action, 3rd edition
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
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: 33130

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: http://aspose.com/file-tools
subject: eclipse error
jQuery in Action, 3rd edition