Use the create-jvm-options subcommand in remote mode to create JVM options in the Java configuration or the profiler elements of the domain.xml file. If JVM options are created for a profiler, these options are used to record the settings that initiate the profiler.
Ensure that the server is running.
Remote subcommands require a running server.
Create JVM options by using the create-jvm-options(1) subcommand.
To create more than one JVM option, use a colon (:) to separate the options. If the JVM option itself contains a colon (:), use the backslash (\) to offset the colon delimiter.
Information about properties for the subcommand is included in this help page.
To apply your changes, restart Enterprise Server. See To Restart a Domain.
This example sets multiple Java system properties.
asadmin> create-jvm-options -Dunixlocation=/root/example: -Dvariable=\$HOME: -Dwindowslocation=d\\:\\\sun\\\appserver: -Doption1=-value1 created 4 option(s) Command create-jvm-options executed successfully.
You can also view the full syntax and options of the subcommand by typing asadmin help create-jvm-options at the command line.