I have several systems that all must load the same properties into the JVM. I can use the -D flag to load one property at a time, but I am looking for something that will load all the properties of the whole file in one go. For instance:
I could just add --options-file = blah.properties to all jvms on my network, once, and then only change the properties file, which can be one central file on a network share.
Thank,
EDIT: Any arguments or commands should also work in a Windows environment. Therefore, any bash or unix-specific scripting hacks will not work.
source
share