code: private static void loadSnappySystemProperties()
      {
          try {
              InputStream is = Thread.currentThread().getContextClassLoader()
                      .getResourceAsStream(SNAPPY_SYSTEM_PROPERTIES_FILE);
  
              if (is == null) {
                  return; // no configuration file is found
              }
  
              // Load property file
              Properties props = new Properties();
              props.load(is);
              is.close();
              Enumeration<?> names = props.propertyNames();
              while (names.hasMoreElements()) {
                  String name = (String) names.nextElement();
                  if (name.startsWith("org.xerial.snappy.")) {
                      if (System.getProperty(name) == null) {
                          System.setProperty(name, props.getProperty(name));
                      }
                  }
              }
          }
          catch (Throwable ex) {
              System.err.println("Could not load '" + SNAPPY_SYSTEM_PROPERTIES_FILE + "' from classpath: "
                      + ex.toString());
          }
      }
docs: load system properties when configuration file of the name
  {@link #SNAPPY_SYSTEM_PROPERTIES_FILE} is found