jbrunner - The ORB's Client Program Runner

jbrunner runs user programs with the ORB environment all setup.

SYNOPSIS

jbrunner [options] <class name> <parameters>

where options include:
    -J<runtime flag>  pass argument to the java interpreter
    -lite             use ORB Lite
    -classpath <path> specify where to find user class files

DESCRIPTION

The jbrunner utility is provided to make it easy to run user programs. The utility sets up the ORB environment (classpath, and properties) and calls the user programs''s main method passing it the parameters.

Please note that when the ORB is installed as a Java 2 extension and set as the default ORB, the jbrunner utility is not required and applications should just be run with the usual java command. When installed as a Java 2 extension, the jbrunner utility can only run classes that are also in the extension.

OPTIONS

-JruntimeFlag
Used to pass runtime flags to the Java interpreter/runtime. For example, in conjunction with the -D option, it sets a Java System property. Muliple -J arguments can be used to specify more than one runtime flags.
-lite
This flag tells the jbrunner to setup ORB Lite instead of the full ORB. When the ORB.init(..) is called without explicitly specifying the ORB implementation class, the lite ORB is returned. Without this flag, the full ORB is returned.
-classpath path

            Specifies the path jbrunner uses to look up classes needed to run the user program.

EXAMPLES

To run the helloWorld example server, go to the examples/src/helloWorld directory and run:
        jbrunner -classpath ../../lib helloWorld.helloServer

Copyright © 1998-2003, Novell, Inc. All rights reserved.