File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes RMI_help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI_help" Watch "RMI_help" New topic


vishal sodani
Ranch Hand

Joined: Aug 26, 2000
Posts: 127
I have four class files-interface(Product),class implementing interface(ProductImpl),server program(ProductServer),and client program(ProductClient).All are in one directory.Now,When I run rmic on Implementation class i get error-
rmic ProductImpl
class not found,even though the class exists.Please help.
T Bush

Joined: Jul 31, 2000
Posts: 13
ProductImpl must extend some deritive of RemoteObject like UnicastRemoteObject.
Hope this helps.

Todd Bush<BR>AIM: RalphWiggam14
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Pls. check the path and classpath.
Hope this will help..
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Tried this?
rmic -d . <packagename.classname>
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Oops, should say
rmic -d . PackageName.ProductImpl
stanley wang

Joined: Jun 24, 2002
Posts: 12
i have the same question.
how can i do for the path and classpath.
my classpaht="c:\jdk1.3\bin"
but it doesn't work?also error!
Kumar Kausikasa
Ranch Hand

Joined: Jun 04, 2002
Posts: 45
Hi ,
As you are using windows machine, if you set the path where your class files are that is enough.
Or when you running program,
java -classpath yourdirectorypath program
yourdirectorypath is the place hwere class files are.
BTW you made a typo error in the classpath
I agree. Here's the link:
subject: RMI_help
It's not a secret anymore!