code: public static Architecture getArchitecture() {
          if (Architecture.UNKNOWN == myArchitecture) {
              final Processor processor = getProcessor();
  
              if (Processor.UNKNOWN != processor) {
                  final String name = System.getProperty(OS_NAME).toLowerCase(Locale.US);
  
                  if (name.indexOf("nix") >= 0 || name.indexOf("nux") >= 0) {
                      if (Processor.INTEL_32 == processor) {
                          myArchitecture = Architecture.LINUX_32;
                      } else if (Processor.INTEL_64 == processor) {
                          myArchitecture = Architecture.LINUX_64;
                      } else if (Processor.ARM == processor) {
                          myArchitecture = Architecture.LINUX_ARM;
                      }
                  } else if (name.indexOf("win") >= 0) {
                      if (Processor.INTEL_32 == processor) {
                          myArchitecture = Architecture.WINDOWS_32;
                      } else if (Processor.INTEL_64 == processor) {
                          myArchitecture = Architecture.WINDOWS_64;
                      }
                  } else if (name.indexOf("mac") >= 0) {
                      if (Processor.INTEL_32 == processor) {
                          myArchitecture = Architecture.OSX_32;
                      } else if (Processor.INTEL_64 == processor) {
                          myArchitecture = Architecture.OSX_64;
                      } else if (Processor.PPC == processor) {
                          myArchitecture = Architecture.OSX_PPC;
                      }
                  }
              }
          }
  
          LOGGER.debug(MessageCodes.UTIL_023, myArchitecture, System.getProperty(OS_NAME).toLowerCase(Locale.US));
          return myArchitecture;
      }
docs: Gets the architecture of the machine running the JVM.
  
  @return The architecture of the machine running the JVM