The remote create-jvm-options command enables you 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 commands require a running server.
Create JVM options by using the create-jvm-options(1) command.
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.
To apply your changes, restart Enterprise Server.
asadmin create-jvm-options -Dunixlocation=/root/ example:-Dvariable=\$HOME:-Dwindowslocation =d\\:\\\sun\\\appserver:-Doption1=-value1
Information similar to the following is displayed:
created 4 option(s) Command create-jvm-options executed successfully.
To see the full syntax and options of the command, type asadmin create-jvm-options --help at the command line.