Browse Source

HPCC-10001 If classpath not set use default

Helpful on environments that have been upgraded from 3.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 11 years ago
parent
commit
1fa70170e5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      plugins/javaembed/javaembed.cpp

+ 4 - 0
plugins/javaembed/javaembed.cpp

@@ -88,6 +88,10 @@ public:
             newPath.append(ENVSEPCHAR);
             conf->getProp("classpath", newPath);
         }
+        else
+        {
+            newPath.append(ENVSEPCHAR).append(INSTALL_DIR).append(PATHSEPCHAR).append("classes");
+        }
         newPath.append(ENVSEPCHAR).append(".");