Here you can find the source of is64Bit()
public static boolean is64Bit()
//package com.java2s; //License from project: LGPL public class Main { public static boolean is64Bit() { return System.getProperty("sun.arch.data.model").contains("64"); }/* ww w . j a va 2 s .c o m*/ }