-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Describe the bug
When I start it on my mac, it crashed.
To Reproduce
Steps to reproduce the behavior:
run java -jar ./target/DolphinBot-1.2.4-ALPHA-full.jar on a mac.
Expected behavior
A clear and concise description of what you expected to happen.
Make it work.
Actual behavior
$ java -jar ./target/DolphinBot-1.2.4-ALPHA-full.jar
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/h2028176/DolphinMinecraftBot-Reloaded/target/DolphinBot-1.2.4-ALPHA-full.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32':
dlopen(libkernel32.dylib, 0x0009): tried: 'libkernel32.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibkernel32.dylib' (no such file), '/Users/h2028176/Library/Java/JavaVirtualMachines/openjdk-25.0.1/Contents/Home/bin/./libkernel32.dylib' (no such file), '/Users/h2028176/Library/Java/JavaVirtualMachines/openjdk-25.0.1/Contents/Home/bin/../lib/libkernel32.dylib' (no such file), '/usr/lib/libkernel32.dylib' (no such file, not in dyld cache), 'libkernel32.dylib' (no such file)
dlopen(libkernel32.dylib, 0x0009): tried: 'libkernel32.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibkernel32.dylib' (no such file), '/Users/h2028176/Library/Java/JavaVirtualMachines/openjdk-25.0.1/Contents/Home/bin/./libkernel32.dylib' (no such file), '/Users/h2028176/Library/Java/JavaVirtualMachines/openjdk-25.0.1/Contents/Home/bin/../lib/libkernel32.dylib' (no such file), '/usr/lib/libkernel32.dylib' (no such file, not in dyld cache), 'libkernel32.dylib' (no such file)
dlopen(/Users/h2028176/Library/Frameworks/kernel32.framework/kernel32, 0x0009): tried: '/Users/h2028176/Library/Frameworks/kernel32.framework/kernel32' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/h2028176/Library/Frameworks/kernel32.framework/kernel32' (no such file), '/Users/h2028176/Library/Frameworks/kernel32.framework/kernel32' (no such file)
dlopen(/Library/Frameworks/kernel32.framework/kernel32, 0x0009): tried: '/Library/Frameworks/kernel32.framework/kernel32' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/kernel32.framework/kernel32' (no such file), '/Library/Frameworks/kernel32.framework/kernel32' (no such file)
dlopen(/System/Library/Frameworks/kernel32.framework/kernel32, 0x0009): tried: '/System/Library/Frameworks/kernel32.framework/kernel32' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/kernel32.framework/kernel32' (no such file), '/System/Library/Frameworks/kernel32.framework/kernel32' (no such file, not in dyld cache)
Native library (darwin-aarch64/libkernel32.dylib) not found in resource path (./target/DolphinBot-1.2.4-ALPHA-full.jar)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:325)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:481)
at com.sun.jna.Library$Handler.<init>(Library.java:197)
at com.sun.jna.Native.load(Native.java:618)
at com.sun.jna.Native.load(Native.java:592)
at org.angellock.impl.win32terminal.AnsiEscapes$Kernel32.<clinit>(AnsiEscapes.java:22)
at org.angellock.impl.win32terminal.AnsiEscapes.enableAnsiSupport(AnsiEscapes.java:32)
at org.angellock.impl.Start.main(Start.java:37)
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(libkernel32.dylib, 0x0009): tried: 'libkernel32.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibkernel32.dylib' (no such file), '/Users/h2028176/Library/Java/JavaVirtualMachines/openjdk-25.0.1/Contents/Home/bin/./libkernel32.dylib' (no such file), '/Users/h2028176/Library/Java/JavaVirtualMachines/openjdk-25.0.1/Contents/Home/bin/../lib/libkernel32.dylib' (no such file), '/usr/lib/libkernel32.dylib' (no such file, not in dyld cache), 'libkernel32.dylib' (no such file)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:213)
... 7 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(libkernel32.dylib, 0x0009): tried: 'libkernel32.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibkernel32.dylib' (no such file), '/Users/h2028176/Library/Java/JavaVirtualMachines/openjdk-25.0.1/Contents/Home/bin/./libkernel32.dylib' (no such file), '/Users/h2028176/Library/Java/JavaVirtualMachines/openjdk-25.0.1/Contents/Home/bin/../lib/libkernel32.dylib' (no such file), '/usr/lib/libkernel32.dylib' (no such file, not in dyld cache), 'libkernel32.dylib' (no such file)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:226)
... 7 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/Users/h2028176/Library/Frameworks/kernel32.framework/kernel32, 0x0009): tried: '/Users/h2028176/Library/Frameworks/kernel32.framework/kernel32' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/h2028176/Library/Frameworks/kernel32.framework/kernel32' (no such file), '/Users/h2028176/Library/Frameworks/kernel32.framework/kernel32' (no such file)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:270)
... 7 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/Library/Frameworks/kernel32.framework/kernel32, 0x0009): tried: '/Library/Frameworks/kernel32.framework/kernel32' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/kernel32.framework/kernel32' (no such file), '/Library/Frameworks/kernel32.framework/kernel32' (no such file)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:270)
... 7 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/System/Library/Frameworks/kernel32.framework/kernel32, 0x0009): tried: '/System/Library/Frameworks/kernel32.framework/kernel32' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/kernel32.framework/kernel32' (no such file), '/System/Library/Frameworks/kernel32.framework/kernel32' (no such file, not in dyld cache)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:270)
... 7 more
Suppressed: java.io.IOException: Native library (darwin-aarch64/libkernel32.dylib) not found in resource path (./target/DolphinBot-1.2.4-ALPHA-full.jar)
at com.sun.jna.Native.extractFromResourcePath(Native.java:1141)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:297)
... 7 more
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Macos15
- Version 1.2.4-ALPHA-full
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers