Re: Java on MacOSX
"eric.bachard@alube" <[email protected]>
| Newsgroups | gmane.comp.openoffice.devel.porting |
|---|---|
| Message-ID | <[email protected]> |
Hi, Stephan, Florian, Stephan Bergmann a écrit : > Florian Heckl wrote: >> java not working on MacOSX seems to be another naming problem. As you >> might know, shared libraries on MacOSX have the suffix .dylib >> However for java to work, some of them have to have the suffix .jnilib >> (also solved by ln -s libsomelib.dylib libsomelib.jnilib). Apparently >> we need this for any lib that gets loaded from inside the JVM. Thank you florian. I'll test all my changes with coming m93 + do some verifications in every d.lst/makefile.mk to see what is to be modified. Florian : I cannot begin before this evening, but I have planed to : - change jre from 1.3.1 to 1.4.2 (I'm sure it works, because it's "Current" for Mac OSX 10.3) - fix the typo for javaldx - look at the correct linking ( + other patches if necessary > Since most of our Java code should by now load native libraries through > com.sun.star.lib.util.NativeLibraryLoader, a grep for > "NativeLibraryLoader" across all *.java files in the CVS should reveal > most, if not all, affected libraries: effectively > hsqldb2 > java_uno > jpipe > officebean maybe libdb_java-4.2.dylib/jnilib too > Also, there is > juh yes > which is loaded by System.loadLibrary instead (for whatever reason). > Hope this helps, Yes, really : #i44154# is a stopper (IMHO the most important) for Mac OSX build, and fix it is very important for us. Thank you very much :-) Regards, eric bachard -- eric bachard <[email protected]> French OpenOffice.org Community developer ( french releases Linux PPC / Mac OS X / X11) See : <http://fr.openoffice.org>