Documentation/FAQ/Platform/Mac OS X 10.6

From Apache OpenOffice Wiki
Jump to: navigation, search

OpenOffice.org does not find Java 6 update 22 on MacOS X

Documentation note.png This was resolved with a fix in Apache OpenOffice Version 3.3
Documentation note.png The following information is for Apache OpenOffice Version 3.2.1 and earlier.

As reported in Issue 115180, latest Java 6u22 delivered via MacOS software update end of October 2010, breaks the Java configuration in OpenOffice.org 3.2.1 and earlier. OpenOffice.org 3.2.1 and earlier are unable to find the new Java.

For all who are interested, there is now a preview release bug fixed version of the involved libraries "libjvmfwk.dylib.3" and "sunjavaplugin.dylib" temporarily available for download at the following location: ftp://qa-upload.services.openoffice.org/jl162/

md5sum:

0a9bb23bcb7cb5fda2ef5f36bef628fe libjvmfwk.dylib.3
75feb4ce4df3ba180b7fd4d98c4c9c3e sunjavaplugin.dylib

These libraries are based on the CWS jl162. (Thanks to Jochen from Oracle for providing these!) This not the official set of hotpatch libraries yet. Please use them at your own risk. Official libs will be provided when the CWS has been approved by QA and the libraries become available on the next official milestone build.Corresponding announcement will follow. The upcomming OpenOffice.org 3.3 will also contain this fix.

To apply these two libs to your Office installation on your Mac, please proceed to the following steps:

  1. Download the patched libs from the url named above.
  2. Close your running office application
  3. Open a terminal (use spotlight and enter "terminal" if you don't know where to find it)
  4. In the terminal go to the location of your office installation and it's corresponding library folder, e.g. "cd /Applications/OpenOffice.org.app/Contents/basis-link/ure-link/lib/
  5. move the original libs to backup copy by entering "mv libjvmfwk.dylib.3 _backup_libjvmfwk.dylib.3" and "mv sunjavaplugin.dylib _backup_sunjavaplugin.dylib" for example.
  6. copy the patched libs into the folder, e.g. "cp /Users/<your username>/Downloads/libjvmfwk.dylib.3 ." and "cp /Users/<your username>/Downloads/sunjavaplugin.dylib ."

That's it. Next time you launch your office and make use of Java features, the correct Java settings should be configured automatically.

Documentation note.png Additional note: In case you already created the link as suggested as workaround in the issue 115180, please remove it since it does nothing helpful to resolve the issue. Instead, it may even break things.
Personal tools