This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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
It is sorta covered in the JavaRanch Style Guide.
subject: error during compile!!
jQuery in Action, 3rd edition