debian/patches/jpype_jvm_path.patch
raw| 1 | Index: jaydebeapi/jaydebeapi/__init__.py |
| 2 | =================================================================== |
| 3 | --- jaydebeapi.orig/jaydebeapi/__init__.py |
| 4 | +++ jaydebeapi/jaydebeapi/__init__.py |
| 5 | @@ -172,6 +172,7 @@ def _jdbc_connect_jpype(jclassname, url, |
| 6 | if jars: |
| 7 | class_path.extend(jars) |
| 8 | class_path.extend(_get_classpath()) |
| 9 | + class_path.extend(['/usr/share/java/org.jpype.jar']) |
| 10 | if class_path: |
| 11 | args.append('-Djava.class.path=%s' % |
| 12 | os.path.pathsep.join(class_path)) |