--- layout: post status: publish published: true title: Installing Zotero on Ubuntu Oneiric (11.10/Beta) wordpress_id: 1449 wordpress_url: https://www.martineve.com/?p=1449 date: !binary |- MjAxMS0wOS0wMyAxNTozNDo1MiArMDIwMA== date_gmt: !binary |- MjAxMS0wOS0wMyAxNTozNDo1MiArMDIwMA== categories: - Technology tags: - zotero - Technology comments: - id: 6526 author: Avram Lyon author_email: ajlyon@gmail.com author_url: '' date: !binary |- MjAxMS0wOS0wNCAwNToxMDowMCArMDIwMA== date_gmt: !binary |- MjAxMS0wOS0wNCAwNToxMDowMCArMDIwMA== content: ! 'Worth noting that Zotero 2.1.9 should work with Firefox 7, and that the Zotero 3.0 betas definitely do: http://www.zotero.org/support/firefox_beta_compatibility' - id: 6535 author: '' author_email: karcher@u.northwestern.edu author_url: '' date: !binary |- MjAxMS0wOS0wOCAwMDoyMTowMCArMDIwMA== date_gmt: !binary |- MjAxMS0wOS0wOCAwMDoyMTowMCArMDIwMA== content: I had also understood that Zotero doesn't rely on the sun java anymore - the LO/Ooo plugin 3.5 upwards uses Ooo's own java - id: 6547 author: William Ray Yeager author_email: wyeager@gmail.com author_url: '' date: !binary |- MjAxMS0xMC0xNiAxODowOTowMCArMDIwMA== date_gmt: !binary |- MjAxMS0xMC0xNiAxODowOTowMCArMDIwMA== content: I just upgraded to Oneiric and Zotero no longer plays nice with Libreoffice. I was using Libreoffice and Zotero 3.0 standalone on Kubuntu 11.4. Under 11.10 I've tried sun-java as well as openjdk. The programs load as they did before but as soon as I try to use the Libreoffice extension to add a citation or refresh the bibliography, Libreoffice crashes. Has anyone else had success? Any recommendations? - id: 6548 author: Martin Paul Eve author_email: martin@martineve.com author_url: https://www.martineve.com date: !binary |- MjAxMS0xMC0xNiAxOTo0NTowMCArMDIwMA== date_gmt: !binary |- MjAxMS0xMC0xNiAxOTo0NTowMCArMDIwMA== content: ! 'Try the following: 1.) Ensure that the correct JDK is selected in LO under Java options. 2.) Reinstall the citation plugin' ---
Following on from my previous guide to using Zotero in Ubuntu Natty, I am pleased to present, here, the guide for Ubuntu 11.10: The Oneiric Ocelot. The most crucial new addition is that, at the time of writing (September 2011), Zotero was unable to load in Firefox 7.0 beta. Update: As of 9th of September, this is fixed. Zotero 2.1.10 will load in Firefox 7.
Since writing this article, a new version of Zotero has been published which renders the advice below unnecessary! Install Zotero 2.1.10 and LibreOffice plugin 3.5b, use the openjdk java environment and all should work. This makes Ubuntu Oneiric the easiest environment in which to install Zotero since Lucid.
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:
{% highlight bash %} sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-plugin sudo update-alternatives –config java {% endhighlight %}If the last option prompts you to set a specific java configuration, ensure you select the Sun variant.
3.) Downgrade Firefox: at the time of writing, Firefox 7 is incompatible with Zotero. By this I don't mean that you can force it to work by disabling the compatibility check, I mean: it's *really* incompatible. Uninstall firefox:
Visit Mozilla's site and install Firefox 6. Update: As per above: this is no longer necessary in Zotero 2.1.10.
4.) Install the Zotero plugin from http://www.zotero.org/
5.) Install the outdated OpenOffice plugin, not the most recent one: http://www.zotero.org/download/integration/Zotero-OpenOffice-Plugin-3.1b1.xpi Update: As of 9th September, plugin 3.5b is confirmed working.
6.) After Firefox has restarted go to Zotero -> Preferences -> Cite tab.
In here, if needs be, 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/
It is possible that you won't need to do this and that Zotero will correctly identify your LO directory.
7.) 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.