Originally posted by Herbert Christy:
Maybe you can try to specify the
I shall try your command to start the rmi registry. Using the LocateRegistry.createRegistry(port); command I wonder how the rmiregistry will find the stubs in the classpath ?
The stubs should be in your jar file. The CLASSPATH will be identical for both registry and jar. So if the jar can locate a class then the registry can also locate the same class.
It does not seem to be the problem in my case as I have my executable jar working on other machine.
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
Free, earth friendly heat - from the CodeRanch trailbosshttps://www.kickstarter.com/projects/paulwheaton/free-heat