GeeCON Prague 2014*
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
Author

eclipse error

prakash gangadhara
Greenhorn

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?

Prakash
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30585
    
154

Prakash,
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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
GeeCON Prague 2014
 
subject: eclipse error