public static boolean isWindows ( ) { String os = System . getProperty ( "os.name" ) ; return os != null && os . toLowerCase ( ) . startsWith ( "windows" ) ; }
return true if operating system is Windows