This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error during compile!!

 
govind raj
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello, please clarify my doubts in funda,
when i am compiling interface implementation programme the following error occurs.
"the interface not found "
what should i do?
i have not set classpath for rmi.should i give class path?
thanks in advance.
 
Suneel Setlur
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
You do have to set the classpath to the current directory
or the directory where you have stored your interface.

------------------
Suneel
 
Jeb Beasley
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
make sure your methods are public. Or visible at least, like protected.
It may also be that you have to do an import, or specify the package. com.mystuff.MyInterface
Jb
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic