Java JVM is 64 Bit is64Bit()

Here you can find the source of is64Bit()

Description

Find out if application is running on 64bit java.

License

Open Source License

Return

true if 64bit

Declaration

public static boolean is64Bit() 

Method Source Code

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

Related

  1. is64Bit()
  2. is64Bit()
  3. is64Bit()
  4. is64Bit()
  5. is64Bit()
  6. is64Bit()
  7. is64Bit()
  8. is64Bit()
  9. is64BitJavaOnMac()