Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with rmic

 
jack borton
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
jack borton
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic