Here you can find the source of is64Bit(String arch)
private static boolean is64Bit(String arch)
//package com.java2s; public class Main { private static boolean is64Bit(String arch) { if (arch.equals("x86")) return false; else if (arch.equals("amd64")) return true; else if (arch.equals("x86_64")) return true; else if (arch.equals("ppc") || arch.equals("PowerPC")) return false; else if (arch.equals("ppc64")) return true; else if (arch.equals("i386") || arch.equals("i686")) return false; else// w ww.ja v a 2 s . c om throw new UnsupportedOperationException("Unsupported architecture: " + arch); } }