91a7bc
diff --git a/build_java.pl b/build_java.pl
91a7bc
index 78cc5fd0..b74a9338 100644
91a7bc
--- a/jss/build_java.pl
91a7bc
+++ b/jss/build_java.pl
91a7bc
@@ -162,8 +162,9 @@ sub setup_vars {
91a7bc
     }
91a7bc
     $jni_header_dir = "$dist_dir/private/jss/_jni";
91a7bc
 
91a7bc
+    $classpath = "-classpath /usr/share/java/apache-commons-codec.jar:/usr/share/java/commons-lang.jar:/usr/share/java/ldapjdk.jar:";
91a7bc
     if( $jce_jar ) {
91a7bc
-        $classpath = "-classpath $jce_jar";
91a7bc
+        $classpath .= ":$jce_jar";
91a7bc
     }
91a7bc
 
91a7bc
     # retrieve present working directory