Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Commit 73f6275

Browse files
committed
fixed java lib path for macos
1 parent 6748e0e commit 73f6275

File tree

1 file changed

+1
-1
lines changed
  • localstack-core/localstack/packages

1 file changed

+1
-1
lines changed

localstack-core/localstack/packages/java.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_java_lib_path(self) -> str | None:
4545
"""
4646
if java_home := self.get_java_home():
4747
if is_mac_os():
48-
return os.path.join(java_home, "Contents", "Home", "lib", "jli", "libjli.dylib")
48+
return os.path.join(java_home, "lib", "jli", "libjli.dylib")
4949
return os.path.join(java_home, "lib", "server", "libjvm.so")
5050

5151
def get_java_env_vars(self, path: str = None, ld_library_path: str = None) -> dict[str, str]:

0 commit comments

Comments
 (0)