public static boolean isWindows8(){
  return osName.indexOf("Windows") > -1 && (osVersion.equals("6.2") || osVersion.equals("6.3"));
}

public static boolean isWindows8 ( ) { return osName . indexOf ( "Windows" ) > - 1 && ( osVersion . equals ( "6.2" ) || osVersion . equals ( "6.3" ) ) ; }
is operating system windows 8 or 8 . 1 ?
