docs: public static LicenseApi licenseApiFactory()
      {
          String licensePath = System.getProperty("user.dir") + "/" + licenseFileName;
          LicenseApi licenseApi = MiscUtils.licenseApiFactory(licensePath);
          if (licenseApi == null) {
              try {
                  // Get location of jar file
                  String jarLoc = VoltDB.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath();
                  // Strip of file name
                  int lastSlashOff = jarLoc.lastIndexOf("/");
                  if (lastSlashOff == -1) {
                      // Jar is at root directory
                      licensePath = "/" + licenseFileName;
                  }
                  else {
                      licensePath = jarLoc.substring(0, lastSlashOff+1) + licenseFileName;
                  }
                  licenseApi = MiscUtils.licenseApiFactory(licensePath);
              }
              catch (URISyntaxException e) {
              }
          }
          if (licenseApi == null) {
              licensePath = System.getProperty("user.home") + "/" + licenseFileName;
              licenseApi = MiscUtils.licenseApiFactory(licensePath);
          }
          if (licenseApi != null) {
              hostLog.info("Searching for license file located " + licensePath);
          }
          return licenseApi;
      }