Is there any way we can load .yml
file using VM argument
, like we load .properties
file for log4j using -Dlog4j.configuration
?
I looked for this but nothing useful found. All solutions are for Spring Boot. But I need to load yaml
(from some directory which is not fixed) in an executable jar.