code: public void setEnvironmentHomeFile(File envHome) {
          try {
              // Switch to canonical for more detailed error messages.
              envHome = envHome.getCanonicalFile();
          } catch (IOException e) {
          }
          mEnvHome = envHome;
      }
docs: Sets the repository environment home directory, which is required.