On 12/22/10 6:03 PM, Martin Dobiasch wrote: > Hi Juergen, > >> mmh, probably it is more a problem with 32bit versus 64bit. Java inside >> the office runs in 32bit mode and maybe this is the problem. But hey >> that is wild guessing only at the moment :-( > It seems to be a 64bit cpu (Core 2 Duo) running a 32bit kernel (uname shows > i386). > >>> I assume you need the Java media framework installed on your Mac. > Its installed as I've tested some other code on that Mac using the Midi API > of Sun-Java. For example the same extension works for NeoOffice. > Do you know where in the code I can find the java implementation? Maybe I > can dig into it and compare Libre/Open-Office with NeoOffice The UI of NeoOffice is completely Java based i assume they run native 64 bit. Anyway you can't simply compare NeoOffice with OpenOffice.org here.
Don't expect a fix form LibO they work more in the direction to remove Java completely ;-) > >> when i try to get a MidiSystem.getMidiDeviceInfo() from an addon on >> MacOS i get an NoClassDefFoundError -> "Could not initialize class >> com.sun.media.sound.Platform" > How do you get Exceptions? My code always terminates without an exception > The statement is in an try-catch Block with catch(Exception e) but no > Exception caught ... (but that's not really important for me) catch(Throwable t) Juergen > > Martin > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org > For additional commands, e-mail: dev-h...@api.openoffice.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org