JNDI Method (-JM)

Use the optional JNDI (Java™ Naming and Directory Interface) Method adapter command (-JM or -JNDIMETHOD) to indicate how the JNDI environment properties are configured. For system properties the value is sys. For local environment properties, use the value env (default).

This is an optional command.

-JM sys|env
Specify use of the environment properties for the Internet service provider. This is the default value.
Specify use of the system properties (JNDI SPI is the J2EE reference server) for the provider.

For example, to specify J2EE system properties as the reference server:

-JM sys