NonStop Server for Java Tools Reference (NSJ 4.0+)

Deviations from Standard Java
-tclient
Runs the application in the Java HotSpot client VM.
Note: The -tclient option is not valid with NonStop Server
for Java 4.
-tserv
Runs the application in the Java HotSpot server VM.
Note: -tserv is the default option for NonStop Server for
Java 4; therefore, specifying -tserv is optional.
Options Forwarded to the Process Being Debugged
-v -verbose[:class|gc|nji]
Turns on verbose mode.
-D name=value
Sets a system property.
-classpath directory1 [:directory2]...
Lists directories in which to look for classes.
-X option
Sets a nonstandard target VM option.
Connecting for Remote Debugging
The Debugger launches the target Java VM.
-launch
jdb -launch ClassName
i.
The Debugger attaches to a previously running Java VM.
-attach
jdb -attach hostname:portnum
For this command, the JVM must already be running as a server at
<hostname:portnum>
To start the server, use the following command :
java -Xnoagent -Xdebug -Djava.complier=NONE \
ii.