Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can not find _stub.class while running server.jar

 
Leonardo Wang
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The server runs ok by java suncertify.server.DatabaseServer.
But when I packed classes into a executable jar - server.jar and run with java -jar server.jar, classNotFound:
-Stub Exception is thrown when rebinding a impl object.
What do I need to do? at rmiregistry or somewhere else?
Thanks in advance!
Leon
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic