I use RMI to code Network connection. My RMI program structure as following:
I have a server program call DBServer in suncertify\server directory. I use rmic create DBServer_stub.class file in this directory.
I create a client jar file, called client.jar, which including the following files:
The strange thing is when I use the command
to run client code, the computer complains that it can not find suncertify\server\DBServer_stub.class. If I just directly run my
client code using
java command, like
it just works fine. ALl these code are in proper package.
I do not know the reason? any one can help?
Thanks!