Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The difference of start rmiregistry by API and Command line

 
Junfeng Cui
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is that if I start rmiregistry by command line, the binding class will throw out ClassNotFoundException.
But if I use LocateRegistry.createRegistry(1099);, it will work.
I do not know what's the difference.

Thanks.
[ August 17, 2004: Message edited by: Junfeng Cui ]
 
Junfeng Cui
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured out why... a dumb question.
I've started rmiregistry in two jvms.
 
Kedar Bhawarthi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand what you mean by two JVMs?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic