Passing an entire file to JVM arguments

后端 未结 4 638
别跟我提以往
别跟我提以往 2021-02-04 12:21

I have several systems that all need to load the same properties to the JVM. I can use the -D flag to load one property at a time, but i am looking for something that will load

4条回答
  •  一整个雨季
    2021-02-04 12:52

    If you use Ant to lanuch the Java process, 9000's answer (plus his windows comment) will work, and you can have the launcher deal with the OS difference.

    There is a StackOverflow thread here which describes how to determine the OS from ant

提交回复
热议问题