You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to run JInputHook.initialize(); on MacBook m3,
I get the following error
java.lang.UnsatisfiedLinkError: /private/var/folders/pm/4gmxlr215r1ffxksn8vsxkf40000gn/T/JInputHook-7515375722774249331/libjinput-osx.dylib: dlopen(/private/var/folders/pm/4gmxlr215r1ffxksn8vsxkf40000gn/T/JInputHook-7515375722774249331/libjinput-osx.dylib, 0x0001): tried: '/private/var/folders/pm/4gmxlr215r1ffxksn8vsxkf40000gn/T/JInputHook-7515375722774249331/libjinput-osx.dylib' (fat file, but missing compatible architecture (have 'unknown,i386,x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/pm/4gmxlr215r1ffxksn8vsxkf40000gn/T/JInputHook-7515375722774249331/libjinput-osx.dylib' (no such file), '/private/var/folders/pm/4gmxlr215r1ffxksn8vsxkf40000gn/T/JInputHook-7515375722774249331/libjinput-osx.dylib' (fat file, but missing compatible architecture (have 'unknown,i386,x86_64', need 'arm64'))
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:331)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:197)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:139)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2418)
at java.base/java.lang.Runtime.load0(Runtime.java:852)
at java.base/java.lang.System.load(System.java:2025)
at net.java.games.input.OSXEnvironmentPlugin.lambda$loadLibrary$0(OSXEnvironmentPlugin.java:68)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
at net.java.games.input.OSXEnvironmentPlugin.loadLibrary(OSXEnvironmentPlugin.java:64)
at net.java.games.input.OSXEnvironmentPlugin.<clinit>(OSXEnvironmentPlugin.java:93)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:421)
at java.base/java.lang.Class.forName(Class.java:412)
at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:133)
at dyorgio.runtime.jinputhook.JInputHook.updateInputDevices(JInputHook.java:158)
at dyorgio.runtime.jinputhook.JInputHook.<init>(JInputHook.java:85)
at dyorgio.runtime.jinputhook.JInputHook.initialize(JInputHook.java:308)
Using JDK 21
The text was updated successfully, but these errors were encountered:
When I try to run
JInputHook.initialize();
on MacBook m3,I get the following error
Using JDK 21
The text was updated successfully, but these errors were encountered: