cjclstartap (start Java application )

Format

cjclstartap [[Java-option]...] Java-application-class-name
           [[Argument-passed-to-main-method] ...]

Function

This subcommand starts a Java application.

Arguments

When no arguments are specified, the command's usage is displayed.

Java-option
Specifies the invoke JavaVM option.
If you specify the same option in the Java-option and option definition file (usrconf.cfg), the contents specified in the Java-option become valid.
You can specify the following options:
  • -cp
  • -classpath
  • -D<name>=<value>
  • -verbose[:class|gc|jni]
  • -ea[:<packagename>...|:<classname>]
  • -enableassertions[:<packagename>...|:<classname>]
  • -da[:<packagename>...|:<classname>]
  • -disableassertions[:<packagename>...|:<classname>]
  • -esa | -enablesystemassertions
  • -dsa | -disablesystemassertions
  • -agentlib:<libname>[=<options>]
  • -agentpath:<pathname>[=<options>]
  • -javaagent:<jarpath>[=<options>]
  • -Xmixed
  • -Xint
  • -Xbootclasspath:<directories and zip/jar files separated by ;>
  • -Xbootclasspath/a:<directories and zip/jar files separated by ;>
  • -Xbootclasspath/p:<directories and zip/jar files separated by ;>
  • -Xnoclassgc
  • -Xloggc:<file>
  • -Xbatch
  • -Xms<size>
  • -Xmx<size>
  • -Xmn<size>
  • -Xss<size>
  • -Xprof
  • -Xrunhprof[:help]|[:<option>=<value>, ...]
  • -Xdebug
  • -Xrs
  • -Xcheck:jni
  • -XX:NewRatio=<value>
  • -XX:PermSize=<size>
  • -XX:MaxPermSize=<size>
  • -XX:SurvivorRatio=<value>
  • -XX:[+|-]PrintTenuringDistribution
  • -XX:TargetSurvivorRatio=<value>
  • -XX:MaxTenuringThreshold=<value>
You cannot specify the following options:
  • -jar jarfile (substitute with -cp jarfile Java-application-class-name)
  • -client (substitute by specifying jvm.type=client in the usrconf.cfg file)
  • -server (substitute by specifying jvm.type=server in the usrconf.cfg file)
  • -hotspot
  • -version
  • -showversion
  • -? -help
  • -X
  • -XX
  • -Xfuture
Java-application-class-name
Specifies the user-created Java application class name.
Argument-passed-to-main-method
Specifies the argument passed to the main method of Java application.

Return value

Values other than the following return values return the Java application termination code. However, if SIGHUP, SIGINT, or SIGTERM occurs in UNIX, this command returns the value with +128 added to the signal number.

1:
An error occurred in the start Java application command.
143:
The following operations are performed when the command is running (in Windows):
  • The x button is clicked for closing the command prompt window from which the command is invoked.
  • The Windows system shuts down.
  • The Windows system logs out.

Notes