jQuery in Action, 2nd edition*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes A JAR PROBLEM 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 "A JAR PROBLEM" Watch "A JAR PROBLEM" New topic
Author

A JAR PROBLEM

ilwyvd illtvd
Greenhorn

Joined: Oct 20, 2002
Posts: 13
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
 
subject: A JAR PROBLEM
 
Similar Threads
database file name
looking for SCJD checklist!!
java.rmi.UnmarshalException
Program Execution Instructions
problem executing executable jar file