Monday, January 17, 2011

OpenOffice - JDK not detected on Mac OSX Snow Leopard

In October 2010 Apples Mac OSX software update (Java 6 u22) broke compatibility with OpenOffice.org 3.2.1 (and earlier versions).  To fix the problem you will need to replace two lib files: libjvmfwk.dylib.3 and sunjavaplugin.dylib

These files are located in:
/Applications/OpenOffice.org.app/Contents/basis-link/ure-link/lib/

Download the new versions:
ftp://qa-upload.services.openoffice.org/jl162/libjvmfwk.dylib.3
ftp://qa-upload.services.openoffice.org/jl162/sunjavaplugin.dylib

Backup original libs:
mv /Applications/OpenOffice.org.app/Contents/basis-link/ure-link/lib/libjvmfwk.dylib.3 /Applications/OpenOffice.org.app/Contents/basis-link/ure-link/lib/libjvmfwk.dylib.3_BAK
mv /Applications/OpenOffice.org.app/Contents/basis-link/ure-link/lib/sunjavaplugin.dylib /Applications/OpenOffice.org.app/Contents/basis-link/ure-link/lib/sunjavaplugin.dylib_BAK

Copy the new libs files in place:
cp ~/Downloads/libjvmfwk.dylib.3 /Applications/OpenOffice.org.app/Contents/basis-link/ure-link/lib/libjvmfwk.dylib.3
cp ~/Downloads/sunjavaplugin.dylib /Applications/OpenOffice.org.app/Contents/basis-link/ure-link/lib/sunjavaplugin.dylib

No comments: