This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI and classpath prob  RSS feed

Chris Chua
Posts: 24
  • Mark post as helpful
  • send pies
  • 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.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!