my dog learned polymorphism*
The moose likes Distributed Java and the fly likes error during compile!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "error during compile!!" Watch "error during compile!!" New topic
Author

error during compile!!

govind raj
Greenhorn

Joined: Jan 05, 2001
Posts: 2
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

Joined: Nov 26, 2000
Posts: 202
Hi
You do have to set the classpath to the current directory
or the directory where you have stored your interface.

------------------
Suneel


Suneel
Jeb Beasley
Greenhorn

Joined: Jul 15, 2000
Posts: 9
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: error during compile!!