This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • 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: 34837
369
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