def add_bundled_jars ( ) : # determine lib directory with jars rootdir = os . path . split ( os . path . dirname ( __file__ ) ) [ 0 ] libdir = rootdir + os . sep + "lib" # add jars from lib directory for l in glob . glob ( libdir + os . sep + "*.jar" ) : if l . lower ( ) . find ( "-src." ) == - 1 : javabridge . JARS . append ( str ( l ) )
jar is for java and what python has
Adds the bundled jars to the JVM s classpath .
def add_bundled_jars():
    """
    Adds the bundled jars to the JVM's classpath.
    """
    # determine lib directory with jars
    rootdir = os.path.split(os.path.dirname(__file__))[0]
    libdir = rootdir + os.sep + "lib"

    # add jars from lib directory
    for l in glob.glob(libdir + os.sep + "*.jar"):
        if l.lower().find("-src.") == -1:
            javabridge.JARS.append(str(l))