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 Problem with rmic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Problem with rmic" Watch "Problem with rmic" New topic

Problem with rmic

jack borton

Joined: Mar 06, 2009
Posts: 11

I'm trying to use RMI in a little program but when I want to use rmic to compile the service that implements the interface, it said Class not found.

I tried this one but it doesn't work:

I tried using eclipse with an ant file but it doesn't work neither.

I don't know what I have to do, If somebody could help, I'll thank a lot.

Thank you.
Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

jack borton wrote:I tried this one but it doesn't work:

You should not specify .class above. It should just be com.example.server.ServiceCalcul
Also /home/jack/workspaceNew/RMI/build/ should have a directory com/example/server/ that contains ServiceCalcul.class

apigee, a better way to API!
jack borton

Joined: Mar 06, 2009
Posts: 11
Hi, I tried like you said but I executed and nothing happend. I couldn't find the answer and I was wondering if I have to do some other configuration. Because the problem is generate the helper classes.

Do you have another idea?

Thank you in advance.
I agree. Here's the link:
subject: Problem with rmic
It's not a secret anymore!