Java tutorial
public class Main { public static void main(String[] args) { System.setProperty("app.major.version", "1"); System.setProperty("app.minor.version", "19"); Integer major = Integer.getInteger("app.major.version"); Integer minor = Integer.getInteger("app.minor.version"); System.out.println("App version = " + major + "." + minor); } }