• 14.5 compatible version

    By Patrick Kwintensson 7 months ago

    instead pointing to jvm/lib/ext use the ndext folder

    • By Patrick Kwintensson 7 months ago

      on ExtBean.java this would probably do:

      public List getFileList() throws NotesException {


      String dirRef = “[program]\ndext\.jar”;//we like 14.5 more :-)


      Session session = XSPUtils.getCurrentSession();
      if (null != session) {
      String dominoVersion = null;
      //https://help.hcl-software.com/dom_designer/14.5.0/basic/H_VERSION.html?hl=%40version
      Vector result = session.evaluate(“@Version”);
      if (null != result && !result.isEmpty()) {
      dominoVersion = result.elementAt(0).toString();
      }


      long versionDomino = 114;//NotesĀ® 3.x
      if (null != dominoVersion) {
      versionDomino = Long.parseLong(dominoVersion);
      }
      if (versionDomino<485) {
      dirRef = “[config]\jvm\lib\ext\
      .jar”;
      }
      }
      return Directory.getFiles(dirRef);
      }