https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
e

enable d

02/27/2024, 1:09 PM
Hi All, I'm trying to execute K/N testing
./gradlew :kotlin-native:backend.native:tests:run
on M1 Mac, caused
java.lang.UnsatisfiedLinkError for libclang.dylib (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
, Only one JDK(arm64) installed ➜ kotlin git:(master) /usr/libexec/java_home -V Matching Java Virtual Machines (1): 11.0.19 (arm64) "Amazon.com Inc." - "Amazon Corretto 11" /Users/tttt/Library/Java/JavaVirtualMachines/corretto-11.0.19/Contents/Home /Users/tttt/Library/Java/JavaVirtualMachines/corretto-11.0.19/Contents/Home