Sitemap
Thiên Toán

Thiên Toán

https://toan.tech

Apache Directory Studio in MacOS

Oct 13, 2021

The JVM shared library “… libjvm.dylib” does not contain the JNI_CreateJavaVM symbol

Apache Directory Studio yêu cầu tối thiểu:

  • macOS version 10.10 (Yosemite) or later.
  • Java 11 or later, we recommend AdoptOpenJDK.

Xử lý lỗi

Trước tiên cần kiểm tra Java version hiện tại:

Get Thiên Toán’s stories in your inbox

Join Medium for free to get updates from this writer.

➜ ~ java -version
openjdk version "17" 2021-09-14
OpenJDK Runtime Environment Temurin-17+35 (build 17+35)
OpenJDK 64-Bit Server VM Temurin-17+35 (build 17+35, mixed mode, sharing)
# lấy đường dẫn đến java
➜ ~ which java
/Users/toanvo/.sdkman/candidates/java/current/bin/java

Sửa file Info.plist như sau

Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size

Sau khi hoàn thành, chúng ta mở lại Apache Directory Studio

Press enter or click to view image in full size

Tham khảo: https://stackoverflow.com/a/42528971

--

--