Mega Code Archive

 
Categories / Java / Development Class
 

Get OS Info

public class Util{   public static String[] getOSInfo()   {     return new String[]     { //     "OS: " + System.getProperty("os.name") + " Build: " + System.getProperty("os.version"), //         "OS Arch: " + System.getProperty("os.arch"), //     };   } }