Starting the Book-Buyer Example from the Command Line


Information You Will Need

To start the books example from the command line, you need to have the following services running:

For instructions on how to start these services, please refer to:


Command Line Usage for the Book-Buyer Example

The usage for starting the Book-Buyer example is:
java <policy-property> <space-name-property> <lookup-group-property> -cp <space-examples-jar-file> <codebase-property> <client-class>>

[ Back To Top ]


How to Run the Book-Buyer Example

NOTE: If you get an java.rmi.UnmarshalException, it probably means your Jini Lookup service isn't running. If you get a java.rmi.ConnectException, look at the stack trace to see if the failure was a result of a call to the Naming.rebind method; if so, it may mean that the RMI registry is not running.

[ Back To Top ]


Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.