code: def _jython_set_classpath(jars):
      '''
      import a jar at runtime (needed for JDBC [Class.forName])
  
      adapted by Bastian Bowe from
      http://stackoverflow.com/questions/3015059/jython-classpath-sys-path-and-jdbc-drivers
      '''
      from java.net import URL, URLClassLoader
      from java.lang import ClassLoader
      from java.io import File
      m = URLClassLoader.getDeclaredMethod("addURL", [URL])
      m.accessible = 1
      urls = [File(i).toURL() for i in jars]
      m.invoke(ClassLoader.getSystemClassLoader(), urlsf _jython_set_classpath(jars):
      '''
      import a jar at runtime (needed for JDBC [Class.forName])
  
      adapted by Bastian Bowe from
      http://stackoverflow.com/questions/3015059/jython-classpath-sys-path-and-jdbc-drivers
      '''
      from java.net import URL, URLClassLoader
      from java.lang import ClassLoader
      from java.io import File
      m = URLClassLoader.getDeclaredMethod("addURL", [URL])
      m.accessible = 1
      urls = [File(i).toURL() for i in jars]
      m.invoke(ClassLoader.getSystemClassLoader(), urls)
docs: import a jar at runtime (needed for JDBC [Class.forName])
  
      adapted by Bastian Bowe from
      http://stackoverflow.com/questions/3015059/jython-classpath-sys-path-and-jdbc-drivers