Here you can find the source of is64Bit()
public static boolean is64Bit()
//package com.java2s; //License from project: Open Source License public class Main { /**/* ww w . j a va2s.c o m*/ * Find out if application is running on 64bit java. * * @return true if 64bit */ public static boolean is64Bit() { return "64".equals(System.getProperty("sun.arch.data.model")); } }