vFunction Flags not recognized in Spring Boot application

When running an application using java -jar, put the -jar as the last arguments and the generic vFunction args before, otherwise the JVM args are ignored.