This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "error during compile!!" Watch "error during compile!!" New topic

error during compile!!

govind raj

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
You do have to set the classpath to the current directory
or the directory where you have stored your interface.


Jeb Beasley

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
I agree. Here's the link:
subject: error during compile!!