All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dstadler.commons.util.PrintSystemProperties Maven / Gradle / Ivy

There is a newer version: 1.3.4
Show newest version
package org.dstadler.commons.util;

import java.io.FileOutputStream;
import java.io.IOException;

/**
 * A simple application which prints out the current Java system properties.
 *
 * @author dominik.stadler
 *
 */
public class PrintSystemProperties {
	public static void main(String[] args) throws IOException  {
		try (FileOutputStream out = new FileOutputStream("SystemProperties.log")) {
			System.getProperties().store(out, "Current System Properties");
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy