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;

public class PrintSystemProperties {

	/**
	 *
	 * @param args
	 * @author dominik.stadler
	 * @throws IOException
	 * @throws Exception
	 */
	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