Next: Apache Ant Integration Up: XML Enhancements to Java™ Previous: Compiler Options

Subsections


Runtime Options

The xj runtime invoker currently supports the following command-line options:

Standard java options

-cp or -classpath <directories and zip/jar files separated by ;>
-- set search path for application classes and resources
-D<name>=<value>
-- set a system property
-verbose[:class|gc|jni]
-- enable verbose output
-version
-- print product version
-showversion
-- print product version and continue
-? or -help
-- print the help message
-X<option>
-- non-standard option (use -X for help on those)

Assert options

-assert
-- print help on assert options
-ea[:<packagename>...|:<classname>] or
  -enableassertions[:<packagename>...|:<classname>]
-- enable assertions
-da[:<packagename>...|:<classname>] or
  -disableassertions[:<packagename>...|:<classname>]
-- disable assertions
-esa or -enablesystemassertions
-- enable system assertions
-dsa or -disablesystemassertions
-- disable system assertions

Script options

-t or -trace
-- Print the command being executed
-cp or -classpath <PATH>
-- Append <PATH> to the java classpath
-P or -profile or -profile
-- Run with profiling
-J<arg>
-- Pass <arg> to java, e.g., use -J-verbose to make java execution verbose
-V or -version
-- Same as -version
-v or -verbose
-- Same as -verbose
-h or -help
-- Same as -help



Next: Apache Ant Integration Up: XML Enhancements to Java™ Previous: Compiler Options
XJ Group 2005-09-13