Java examples for File Path IO:Property Files
Get system properties
import java.util.Properties; public class PropertiesTest { public static void main(String[] args) { Properties pro = System.getProperties(); pro.list(System.out);/*from www .jav a2 s.c o m*/ System.out.println(System.getProperty("file.encoding")); } }