Java OS is 64 Bit is64BitWin()

Here you can find the source of is64BitWin()

Description

is Bit Win

License

Open Source License

Declaration

private static boolean is64BitWin() 

Method Source Code

//package com.java2s;

public class Main {
    private static boolean is64BitWin() {
        String arch = System.getenv("PROCESSOR_ARCHITECTURE");
        String wow64Arch = System.getenv("PROCESSOR_ARCHITEW6432");
        return (arch.endsWith("64") || (wow64Arch != null && wow64Arch.endsWith("64")));
    }//from w w w .  j  a v  a 2s  . c o  m
}

Related

  1. is64bitPlatform()
  2. is64Bits()
  3. is64Bits()
  4. is64BitVM()
  5. is64BitVM()