• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

eclipse error

 
prakash gangadhara
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34198
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic