This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A JAR PROBLEM

 
ilwyvd illtvd
Greenhorn
Posts: 13
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic