Win a copy of Design for the Mind this week in the Design 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic