mac 运行executor 时报错:Exception in thread "datax-web, executor ExecutorRegistryThread" java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/hp/jb28x8qj3z7crl5ssf8tl6cc0000gn/T/jna-400106789/jna750014645081268444.tmp
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1823)
at java.lang.Runtime.load0(Runtime.java:782)
at java.lang.System.load(System.java:1098)
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:947)
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:922)
at com.sun.jna.Native.(Native.java:190)
at com.sun.jna.Pointer.(Pointer.java:54)
at com.sun.jna.Structure.(Structure.java:2130)
at oshi.hardware.platform.mac.MacCentralProcessor.(MacCentralProcessor.java:53)
at oshi.hardware.platform.mac.MacHardwareAbstractionLayer.getProcessor(MacHardwareAbstractionLayer.java:53)
at com.wugui.datatx.core.util.OSUtils.cpuUsage(OSUtils.java:99)
at com.wugui.datatx.core.thread.ExecutorRegistryThread.lambda$start$0(ExecutorRegistryThread.java:44)
at java.lang.Thread.run(Thread.java:750)
mac 运行executor 时报错:Exception in thread "datax-web, executor ExecutorRegistryThread" java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/hp/jb28x8qj3z7crl5ssf8tl6cc0000gn/T/jna-400106789/jna750014645081268444.tmp at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1823) at java.lang.Runtime.load0(Runtime.java:782) at java.lang.System.load(System.java:1098) at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:947) at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:922) at com.sun.jna.Native.(Native.java:190)
at com.sun.jna.Pointer.(Pointer.java:54)
at com.sun.jna.Structure.(Structure.java:2130)
at oshi.hardware.platform.mac.MacCentralProcessor.(MacCentralProcessor.java:53)
at oshi.hardware.platform.mac.MacHardwareAbstractionLayer.getProcessor(MacHardwareAbstractionLayer.java:53)
at com.wugui.datatx.core.util.OSUtils.cpuUsage(OSUtils.java:99)
at com.wugui.datatx.core.thread.ExecutorRegistryThread.lambda$start$0(ExecutorRegistryThread.java:44)
at java.lang.Thread.run(Thread.java:750)
通过file /var/folders/hp/jb28x8qj3z7crl5ssf8tl6cc0000gn/T/jna-400106789/jna750014645081268444.tmp 查看,发现文件是x86架构,可是我的jvm 是aarch64的,有没有大佬知道怎么处理