• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with rmic

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic