• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A JAR PROBLEM

 
ilwyvd illtvd
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have three jar files:server.jar client.jar share.jar
in server.jar I package all classes using ackage suncertify.server.
in client.jar I package all classes
using ackage suncertify.client
both the manifest.mf for server.jar and client.jar
have the Class-Path=share.jar
the server.jar runs ok
the client.jar when I use
java -Djava.rmi.server.codebase=file:///c:/server.jar
-jar client.jar
it runs well
but I copy the stub files to client side, and build the client.jar,using the command:
java -jar client.jar
it report can not find the "suncertify.server.*stub,java.lang.exception......."
I understand it is path problem but how can I
resolve the *stub problem ,I do not want to use
codebase parameter when I run client.jar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic