--Environment --Windows 10 Pro 64bit version 1909 - GitBash(mintty 3.1.0) - Payara Server 5.194
$ asadmin create-jvm-options -Djava.io.tmpdir=/c/tmp
remote failure: JVM option /tmp is invalid because it does not start with a '-'
Command create-jvm-options failed.
Anyone can immediately notice the cause of this, but I didn't know how to write it in the current environment and tried it.
#Windows-like, without the enclosing character with escape characters>No good
$ asadmin create-jvm-options -Djava.io.tmpdir=C\:\\tmp\\
remote failure: Escape at EOL
Escape at EOL
Usage: create-jvm-options
[--target <target(default:server)>]
[--profiler[=<profiler(default:false)>]]
[--min-jvm=<version>]
[--max-jvm=<version>]
[-?|--help[=<help(default:false)>]]
(jvm_option_name[=jvm_option_value])[:jvm_option_name[=jvm_option_name]]*
Command create-jvm-options failed.
#Windows-like enclosing character with escape character>I got it
$ asadmin create-jvm-options -Djava.io.tmpdir='C\:\\tmp\\'
Created 1 option(s)
Command create-jvm-options executed successfully.
#I will check
$ asadmin list-jvm-options | grep tmpdir
-Djava.io.tmpdir=C:\tmp\