aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes can not find _stub.class while running server.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "can not find _stub.class while running server.jar" Watch "can not find _stub.class while running server.jar" New topic
Author

can not find _stub.class while running server.jar

Leonardo Wang
Greenhorn

Joined: Feb 19, 2002
Posts: 17
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: can not find _stub.class while running server.jar