-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File not found libjawt.dylib
#95
Comments
Reason: tried: '/Library/Java/JavaVirtualMachines/ibm-semeru-open-8.jdk/Contents/Home/jre/lib/default/libjawt.dylib' (no such file), '/Library/Java/JavaVirtualMachines/ibm-semeru-open-8.jdk/Contents/Home/jre/bin/./libjawt.dylib' (no such file), '/usr/lib/libjawt.dylib' ) The library is there in |
I set the path directly to |
Did you try setting the path to |
even if that were the case JDK is defined as java bundled with compile time dependencies thus it should work regardless of jdk or jre folder and would be a bug especially since one would not be able to develop a java application on this distro |
Perhaps there is a bug in Semeru but atm I don't know what that might be. The libjawt.dylib library is included in the right place. The error message indicates it didn't look in that place. Afaik the |
I verified it happened in both directories and wasn't multimc specific same issue occured on technic and even straight from Terminal. This is a bug with either the PKG installer or Semeru itself on macOS intel x64 |
I agree with everything Peter says above: it does appear that the path containing libjawt.dylib isn't being searched and that should be the same path for both Eclipse Temurin and Semeru Runtimes. So it's really strange to read "Every single other java distro works except IBM on mac". Assuming the configuration is the same, Temurin and Semeru put the same library in the same place. I'll also point out, as Peter did, that the code that is trying to load libjawt.dylib is native code from the LWJGL project, and based on the stack trace, it's the older v2 of LWJGL (looks to be about 8 years old based on its GitHub repo (see https://github.com/LWJGL/lwjgl ). @jredfox can Minecraft be configured to use LWJGL3, I wonder? If so, then trying it out with v3 might help to get you going (I noticed that native library loading implementation seems to be significantly different in v3 versus v2). Just for kicks, I wrote a simple testcase that just loads libjawt.dylib and ran into a problem that I've documented in #96. It's possible @jredfox will hit that problem once this issue is resolved. It might also be helpful to collect the output when running with these environment variables set: .
Note copious output will be produced documenting all libraries being loaded, but for my little testcase in #96, I saw:
I don't think we'll get that output in this case (because the library can't be found!), but perhaps we'll see something else in the output that will help us figure out what's happening, since there should be other libraries loaded by the JVM from the same jre/lib directory before it attempts to load libjawt.dylib from there (for example, libjava.dylib, libverify.dylib, libzip.dylib, ...). |
Issue: your missing critical AWT libraries and possibly more native libraries on Mac intel x64
Steps to reproduce:
The text was updated successfully, but these errors were encountered: