Featured image by Wyatt Kirby with unspecified copyright or licensing provisions. Used here in good faith and for no commercial gain to demonstrate the operating system referred to. If you own the copyright to this image and would like it removed, please contact me and I will remove it ASAP.
</div>
1.) Add the Maverick partner repository:
Software Center -> Edit Menu -> Software Sources -> Other sources -> Add:
deb http://archive.canonical.com/ubuntu maverick partner
2.) Drop to a command prompt:
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin
sudo update-alternatives --config java
If the last option prompts you to set a specific java configuration, ensure you select the Sun variant.
3.) Install Zotero plugin from http://www.zotero.org/
4.) Install the outdated OpenOffice plugin, not the most recent one: http://www.zotero.org/download/integration/Zotero-OpenOffice-Plugin-3.1b1.xpi
5.) After Firefox has restarted go to Zotero -> Preferences -> Cite tab.
In here, change the OpenOffice parameters to the following:
UNO: file:///usr/lib/libreoffice/basis-link/ure-link/share/java/
soffice binary: file:///usr/lib/libreoffice/program/
6.) Click "install plugin".
If this fails, go into LibreOffice, Tools menu -> Extension manager -> Add
Navigate to your firefox profile directory which will look like:
/home/yourusername/.mozilla/firefox/ALONGSTRINGOFLETTERS/extensions/zoteroOpenOfficeIntegration@zotero.org/install/
and manually add the .oxt file from within.
With any luck, you should be set. Worth also checking in LibreOffice -> Edit menu -> Preferences -> Java that you are using the Sun interpreter in LibreOffice.