Set a system property : System Properties « Development Class « Java
- Java
- Development Class
- System Properties
Set a system property
public class Main {
public static void main(String[] argv) throws Exception {
String previousValue = System.setProperty("application.property", "newValue");
}
}
Related examples in the same category