I pass certain environment variables D as virtual machine parameters to a Java server application.
I need to get these variables from the application, but when I use System.getProperties (), I get all of them, as well as all the system properties defined at the operating system level that are not of interest to me.
Is there any way to open the -D options?
source share