Introduction | The File Menu

# Command Line Options

Jdrview can be invoked from a command prompt using:

`jdrview` <option-list> <filename>
Note that <option-list> and <filename> may be omitted. Only one filename is permitted, and it must be either a
or
file. This script uses the environment variable `JDR_JVMOPTS` to pass options to the
. For example, if you want to run Jdrview with a maximum size of 128Mb for the memory allocation pool, you can set `JDR_JVMOPTS` to `-Xmx128m`:

    setenv JDR_JVMOPTS -Xmx128m

Note that Jpgfdraw also uses this environment variable.

If you can't use the `jdrview` script, you can invoke Jdrview from the command line using:

`java -jar jdrview.jar` <option-list> <filename>
(You may need to include the full pathname to `jdrview.jar`.)

The following options are provided:

`-antialias`
  Switch on the anti-aliasing (default).
`-noantialias`
  Switch off the anti-aliasing.
`-cwd` <path>
  Set the current working directory to <path>.
`-version`
  Print the version number and exit.
`-help`
  Print brief help message.

Introduction | The File Menu