code: public static ArchType calculateArch()
      {
          String osArch = System.getProperty("os.arch");
          osArch = osArch.toLowerCase(Locale.ENGLISH);
          if ("i386".equals(osArch) ||
              "x86".equals(osArch)  ||
              "i686".equals(osArch))
          {
              return ArchType.X86; 
          }
          if (osArch.startsWith("amd64") || osArch.startsWith("x86_64"))
          {
              return ArchType.X86_64;
          }
          if (osArch.startsWith("arm64"))
          {
              return ArchType.ARM64;
          }
          if (osArch.startsWith("arm"))
          {
              return ArchType.ARM;
          }
          if ("ppc".equals(osArch) || "powerpc".equals(osArch))
          {
              return ArchType.PPC;
          }
          if (osArch.startsWith("ppc"))
          {
              return ArchType.PPC_64;
          }
          if (osArch.startsWith("sparc"))
          {
              return ArchType.SPARC;
          }
          if (osArch.startsWith("mips64"))
          {
              return ArchType.MIPS64;
          }
          if (osArch.startsWith("mips"))
          {
              return ArchType.MIPS;
          }
          if (osArch.contains("risc"))
          {
              return ArchType.RISC;
          }
          if (osArch.startsWith("aarch64"))
          {
              return ArchType.AARCH64;
          }
          return ArchType.UNKNOWN;
      }
docs: Calculates the current ARCHType
  
  @return The current ARCHType