Skip to content

Commit 8ef191f

Browse files
committed
Support for ARM64 on Linux
1 parent 2d88163 commit 8ef191f

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
@@ -258,7 +258,7 @@ def find_jre_bin_jdk_so():
258258
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')):
259259
jre_bin = os.path.join(jre_home, 'bin')
260260
jre_libexec = os.path.join(jre_home, 'bin' if is_win else 'lib')
261-
arches = ('amd64', 'i386', '') if is_linux else ('',)
261+
arches = ('aarch64', 'amd64', 'i386', '') if is_linux else ('',)
262262
lib_prefix = '' if is_win else 'lib'
263263
lib_suffix = '.dll' if is_win else ('.dylib' if is_mac else '.so')
264264
for arch in arches:

0 commit comments

Comments
 (0)