Java OS is 64 Bit is64Bits()

Here you can find the source of is64Bits()

Description

is Bits

License

Open Source License

Declaration

public static boolean is64Bits() 

Method Source Code

//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);
    }
}

Related

  1. is64BitOS()
  2. is64bitOS()
  3. is64BitOs()
  4. is64bitPlatform()
  5. is64Bits()
  6. is64BitVM()
  7. is64BitVM()
  8. is64BitWin()