Error: "Could not create Java implementation loader"
As the topic says. As soon as I try to install the actual OpenOffice.org extension, I'm presented with said error message: "Could not create Java implementation loader". The Zotero toolbar does appear in OpenOffice.org Writer but its buttons don't do a thing.
I use: Windows 7 32-bit, OpenOffice.org 3.3.0, Firefox 3.6.15, Zotero 2.1.1, Zotero OpenOffice.org extension 3.5a1.
I use: Windows 7 32-bit, OpenOffice.org 3.3.0, Firefox 3.6.15, Zotero 2.1.1, Zotero OpenOffice.org extension 3.5a1.
You could also try unchecking "Use a Java runtime environment" in Tools->Options->OpenOffice.org->Java, restarting your computer (restarting OpenOffice.org is sufficient, although you will have to quit Quickstarter unless you disabled it manually), opening OpenOffice.org again, re-checking the box, and restarting it again.
You may have to enable/disable or reinstall the Zotero extension after completing these steps. Let us know if this works.
OpenOffice's fault or not: the only thing I know is that the Zotero OpenOffice extension 3.1b1 I can install without any error messages. (Alas, I can't use it. As soon as I want to cite something in Writer, a source code window with an error message pops up.) So I'd guess that something must have changed with regards to the Zotero OpenOffice extension 3.5a1.
the old one was a constant source of trouble - (not to install, but lots of people had problems getting it to work - as I'm sure you have noticed looking through old forum threads).
But there is really nothing else we can do for you here - something is clearly wrong with your Ooo and we can't fix that here. I guess I'd try Libre Office if you haven't already, but that's pretty much it then.
1. I installed both extensions which, of course, failed. But then I just let them sit there in their half-installed state instead of removing them.
2. I disabled Java in OpenOffice.
3. I uninstalled Openoffice.
4. I rebooted my computer.
5. I reinstalled OpenOffice.
When I now started Writer anew, it picked up both extensions.
It'd be nice to say "Done!" but, alas, I can't. Because even though Zotero is now installed in OpenOffice, I can't use it. The toolbar is there, but when I click on a button -- any button -- nothing happens. No, I can't create a Report ID as "Report Errors" is greyed out in Zotero.
I have not the faintest idea what's gone wrong now. (And no, it doesn't work with LibreOffice either.)
Running Mac 10.6.6, Firefox4, OO 3.2.1, Zotero 2.1.1
Ah, well. Technology is so much fun.
* Fails: Windows 7 64bit pc (tried all restarts, uninstallations, installing older versions of ff and LO, even OOo and JVM. Zotero OOo integration worked fine before I upgraded to FF4, maybe LO3.2?)
* Fails: Windows 7 32bit laptop (didn't try anything beyond reinstalls)
* Works: Ubuntu 10.10
I'm happy to collect debug info if someone knows how to generate that when the buttons don't cause an error - they just don't work.
Firefox 4.0 final
OpenOffice.Org 3.3.0 final
Java Runtime Environment (JRE) 6.0 Update 25
Zotero 2.1.6 XPI installed and enabled
Zotero OpenOffice Plugin 3.5a1 XPI installed and enabled
But Zotero_OpenOffice_Integration.oxt is installed manually later
-------------------------------------------------
Start OOO, "Use a Java runtime environment" in tools->Options->OpenOffice.org->Java is checked , try to install Zotero_OpenOffice_Integration.oxt manually, then theres is a message "Could not create Java implementation loader", click OK and close the OOO, then resatart the OOO and uncheck "Use a Java runtime environment" in tools->Options->OpenOffice.org->Java, close OOO, restart it again and check "Use a Java runtime environment" in tools->Options->OpenOffice.org->Java , restart OOO again. This time when I try to install the Zotero_OpenOffice_Integration.oxt, it will be installed correctly with no error.
It workes for me. : )
(Also works fine with the defaults applications in Ubuntu 11.04, so now I just have to check the 32bit Windows 7 laptop)
For anyone finding this thread, there are easy solutions to the implementation loader issue on OS X (install the latest version of OOo) and Linux (make sure that openoffice-java-common and Java are installed), but the cause on Windows remains elusive.
[quote]
This may also happen when one wants to debug Java in the office process and therefore has provided the debug options for Java in the options dialog. The Java service of the extension will be registered in a separate process (uno.exe) which also needs to start Java. This Java uses the same settings from the options dialog. For example:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8100
If there is also a Java running in the office process, then the creation of the virtual machine in the second process will fail. The reason is, that the latter receives the same debug settings. It appears that two virtual machines, although in separate processes, cannot use the same port for debugging. If one changes the port number before adding the extension (and after the Java has been created in the office process), then the extension will be installed properly.
The same effect can be seen when running "unopkg gui". When installing the second Java component then a second uno.exe is created and the creation of the virtual machine in this process will fail.
[/quote]
However, I do not understand how I possibly could change the port?
Best,
dnh
Interestingly enough, on my old computer it didn't work with LibreOffice either -- but that was version 3.3 then. I have no idea if there was a substantial change with regards to Java between 3.3 and 3.4.2. Well, I don't really care. If LibreOffice works I'll take LibreOffice.
The installation seemed fine, the buttons came up, but they didn't do anything when I pressed them. I went to the the Extension Manager which claimed Zotero wasn't enabled and I got the error when I tried to enable.
My fix was:
Tools > Options > Java
"Use Java Runtime Environment" was checked, however neither of the two runtime environments which appeared after a few seconds of detection were checked.
I checked 1.6.0_26 which was the later of the two, was prompted to restart. Restarted LibOff. Enabled Zotero in the Extension Manager - went without a hitch. Restarted LibOff again. Zotero integration works!
I hope this helps people avoid reinstallations.
Workarounds such as uninstalling and reinstalling LibreOffice and Java, while deactivating & activating LibreOffice's option for "Use a Java runtime environment", had no effect.
Although 64bit java-1_6_0-sun was installed and reinstalled, I became dismayed that LibreOffice would not even recognise the java file that was present. I also tried java-1_6_0-openjdk with the same issue.
Finally two notes helped:
1. LibreOffice Release Notes: "If you run Linux, the GCJ Java variant has known issues with LibreOffice, we advise to e.g. use OpenJDK instead."
2. A web forum note that 64bit LibreOffice still requires 32bit Java.
The problem was fixed by installing 32bit LibreOffice and a 32bit jre rpm (i.e. i586 rpm) on my 64bit system. I got the Java from http://www.java.com/en/download/linux_manual.jsp?locale=en
(Note: if you also want to fix very slow record operations in Base then you will specifically need the older jre 1.6.22 at http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jre-6u22-oth-JPR - for details of the fix see http://www.oooforum.org/forum/viewtopic.phtml?p=435951#435951)
LibreOffice immediately recognised the jre java file after I pointed it to the new jre directory at /usr/java/default/bin The new jre automatically became the new default java with dot-box checked. The Zotero extension could then be Enabled in the LibreOffice Extension Manager.
One issue remains, which is that the new jre isn't visible upon reopening LibreOffice/Tool/Options/Java. However, the new jre seems to be present because LibreOffice doesn't default to gjc java and Zotero continues to be active and work fine.
So its back to full productivity with the wonderful Zotero app!
Is there anything else I can do? It's getting really frustrating not being able to use the plugin.
Does Zotero work with MS Office 2010? If so I may just buy that.
Zotero 3.0.7 (firefox addon)
Windows 7 32 bit
Zotero Libreoffice integration 3.5.1
I just had similar problems installing zotero and libreoffice integration on this computer.
I first tried to use zotero with the latest version of jre (currently 7update5), I got the error message "libreoffice requires jre to run this. this version of JRE is not compatible....). After some searching online, I uninstalled just the jre7u5, leaving java FX 2.1.1. Also deleted the profile folder for libreoffice to be safe. (found at ...users\(your username)\appdata\roaming\ (note this is a hidden folder so navigate to ...users\(your username)\ and type in the "appdata".)) I installed jre6u1. Now it works.
You can get older versions of jre by searching online at other sites.
If you uninstall both java fx 2.1.1 and jre 7u5, and then install jre 6u1, then it may not work. Leave the java fx2.1.1
Subsequently I allowed an update of jre to 6.33 (or something like that), and it still works.
What about zotero standalone? Same problem.
This seems like a problem in compatibility between libreoffice and jre7u5.
When using java 1.6.0_31 there is no problem, when update to 1.7 the error appears.
I have downgraded to 1.6.0_31
I agree with Vijumoses in the compatibility issue.