You can set a system properties value by using the -D parameter after running the program:
Java -dtesge.home = "e: / home" testApp
The method is obtained in the program:
String Dir = System.getProperty ("esge.home");