I have something like this:
public static final String path; static { path = loadProperties(\"config.conf\").getProperty(\"path\"); } public static void mai
how about this structure
public static void main(String... args) { boolean restart = true; while (restart ) { retart = runApplication(); } }
If you ever detect the need to restart you application, have runApplication return true. If it is time to exit return false;