12/29/2023 0 Comments Java for mac 10.5 8![]() Which version of X-Windows are you using? The default version, or XQuartz? Reason: Incompatible library version: libmawt.dylib requires version 10.0.0 or later, but libX11.6.dylib provides version 9.0.0 Referenced from: /System/Library/Frameworks/amework/Versions/openjdk7/jre/lib/ppc/xawt/libmawt.dylib I tried to run a simple swing app, java =false TextDemoĮxception in thread "main" : /System/Library/Frameworks/amework/Versions/openjdk7/jre/lib/ppc/xawt/libmawt.dylib: dlopen(/System/Library/Frameworks/amework/Versions/openjdk7/jre/lib/ppc/xawt/libmawt.dylib, 1): Library not loaded: /usr/X11/lib/libX11.6.dylib ) Thank you anyways! This helps - now I just have to install the correct (older) version of X11 so that the lib-versions fit. Try setting =false from the command line while running your application. Īt (EventQueue.java:1242)Īt (SwingUtilities.java:1346)Īt (GraphicsEnvironment.java:202) bin/java -jar /Users/joey/Downloads/openjdk7-zerovm-ppc-jyeary-07-18-b00/demo/jfc/Notepad/Notepad.jar But it seems it is not able to detect the X11 server. You should be able to compile binaries for Intel based systems using bsd-port, or os x port The binaries are part of bsd-port and are not "universal" binaries. ![]() The binaries are for PPC chipsets and will not run on Intel. I just linked server/libjvm.dylib to the directory above and it works. Is this simply impossible or is something broken? Unable to load native library: dlopen(/Users/joey/Downloads/openjdk7-zerovm-ppc-jyeary-07-18-b00/jre/lib/ppc/libjava.dylib, 1): Library not loaded: from: /Users/joey/Downloads/openjdk7-zerovm-ppc-jyeary-07-18-b00/jre/lib/ppc/libjava.dylibĭo you think this is because I'm trying to run on an Intel Mac (thought Rosetta would manage this) and on 10.6? I'm trying it on this system because the 10.5 system is not mine and I'd like to test this first. $ openjdk7-zerovm-ppc-jyeary-07-18-b00/bin/java -versionĮrror occurred during initialization of VM I downloaded and unpacked your binary but when I try to execute I get the following error: Maybe you can help me with this issue as well: It is highly likely that we will be stuck with X11 since the effort is so large to get the support in currently. This particular version uses X11 since the Cocoa-UI is just now being sorted out in the JDK 7 mac-osx port. What about the version you compiled? Is it able to use Cocoa-UI or will it use X11? Thanks you! This is absolutely great! One question: The OpenJDK I have installed on my Intel MacBook already uses Cocoa.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |