Java os.name system property
Last Updated on Tuesday, 07 June 2011 10:33
Find below two enumeration to define and use the os.name system property.
In the following example we are reading the os.name system property and resolve the correponding operating system enumeration. Then we use a switch case on the os family to define the folders according to the operating system familyTags: package, switch, property, enum, public, system, family, string, operatingsystem, operatingsystemfamily, static, operating, enumeration, os.name