• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

RMI and classpath prob

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi to all could somebody help me with this. I am currently studying about RMI my interface name is Iflip the server class name is Flip, I have tried this in win 98 and it is working fine now i tried it on win nt and it isnt working I have put all the classes in a directory ex c:\tut\rmi this includes the Flip_Stub and Flip_Skel produce using the rmic so when i started the registry a remote exception occured saying it couldnt find the Flip_Stub class file, so I added a classpath option like -cp c:\tut\rmi\Flip_Stub.class;c:\tut\rmi\Flip_Skel.class now when I run it it coudnt find my server class file thats Flip.class so i change the classpath again to -cp c:\tut\rmi\Flip_Stub.class;c:\tut\rmi\Flip_Skel.class;c:\tut\rmi Flip host port num.
now it throws the remote exception ( classnotfoundexception ) stating it coudnt find the Flip_Stub.class so what wrong with this? can somebody give me a solution to this.
Thanks
Chris
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you have to give classpath.
c:\>set classpath=.;
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That didn't help me, could you imagine some other problems which can occur that Exception?
[This message has been edited by Saskia Schreiber (edited September 11, 2001).]
 
Sasparilla and fresh horses for all my men! You will see to it, won't you tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic