Does Java have any command-line way of specifying a classpath-relative file from which it will load system properties (similar to -D properties)?
From Java9, you can use @files
option to import a file as command arguments.
See this link.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With