IBM User Guide for Java V7 on Windows > Reference > Command-line options > JVM command-line options



-Xoptionsfile

Specifies a file that contains JVM options and definitions.

-Xoptionsfile=<file>

By default, no option file is used.

The options file does not support these options:

  • -assert
  • -fullversion
  • -help
  • -showversion
  • -version
  • -Xcompressedrefs
  • -Xcheck:memory
  • -Xjarversion
  • -Xoptionsfile

Although you cannot use -Xoptionsfile recursively within an options file, you can use -Xoptionsfile multiple times on the same command line to load more than one options files.

<file> contains options that are processed as if they had been entered directly as command-line options. For example, the options file might contain:

-DuserString=ABC123
-Xmx256MB
Some options use quoted strings as parameters. Do not split quoted strings over multiple lines using the line continuation character '\'. The 'Â¥' character is not supported as a line continuation character. For example, the following example is not valid in an options file:
-Xevents=vmstop,exec="cmd /c \
echo %pid has finished."
The following example is valid in an options file:
-Xevents=vmstop, \
exec="cmd /c echo %pid has finished."


Parent: JVM command-line options








Error 404 - Not Found

Error 404 - Not Found

The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.