Skip to content

Commit 6a26b73

Browse files
author
Tim Jones
committed
Find libjvm.so on Arch Linux.
1 parent 8b062da commit 6a26b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javabridge/locate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def find_jre_bin_jdk_so():
236236
java_home = find_javahome()
237237
if java_home is not None:
238238
found_jvm = False
239-
for jre_home in (java_home, os.path.join(java_home, "jre"), os.path.join(java_home, 'default-java')):
239+
for jre_home in (java_home, os.path.join(java_home, "jre"), os.path.join(java_home, 'default-java'), os.path.join(java_home, 'default-runtime')):
240240
jre_bin = os.path.join(jre_home, 'bin')
241241
jre_libexec = os.path.join(jre_home, 'bin' if is_win else 'lib')
242242
arches = ('amd64', 'i386', '') if is_linux else ('',)

0 commit comments

Comments
 (0)