Here you can find the source of is64Bits()
public static boolean is64Bits()
//package com.java2s; public class Main { public static boolean is64Bits() { return "64".equals(System.getProperty("sun.arch.data.model")); }// w w w .ja va2 s . com public static boolean equals(final Object obj1, final Object obj2) { if (obj1 == null) { return obj2 == null; } if (obj2 == null) { return false; } return obj1.equals(obj2); } }