LO word Processor Plugin failure (OSX 10.11.6, LO 5.1.4.2)
Everything was working with current Zotero / Plugin (4.0.29.10 / 3.5.12) for FF and LO plugin on LO 5.0.1 with JDK 8 - 92 on OSX 10.11.6, FF 47.0.1
I updated to JDK 8-102 and LO hung.
Ended up turning JRE off, installing LO 5.1.4.
Started LO and it requested a JRE and with JRE turned on (Location: /Library/Java/JavaVirtualMachine/jdk1.8.0_102.jdk/Contents/Home/jre) , LO operable again, but Zotero not functioning anymore.
FF then indicated plugin was not allowed. Removed plugin and reinstalled latest from here (3.5.12) and tried to reinstall automagically. Failed. Tried to install manually, and process hung (did not get LO not responding, but process would not respond).
Rebooted machine and tried again. No Joy.
I know LO chokes on java regularly, and Zotero needs the Java to work. It appears that the Java itself is not hanging LO, and it is the JDK installed (though LO decides it is pointing to the JRE in the JDK install).
What now? Getting to the point where this is becoming too much trouble to recommend to my students. SUggestions?
I updated to JDK 8-102 and LO hung.
Ended up turning JRE off, installing LO 5.1.4.
Started LO and it requested a JRE and with JRE turned on (Location: /Library/Java/JavaVirtualMachine/jdk1.8.0_102.jdk/Contents/Home/jre) , LO operable again, but Zotero not functioning anymore.
FF then indicated plugin was not allowed. Removed plugin and reinstalled latest from here (3.5.12) and tried to reinstall automagically. Failed. Tried to install manually, and process hung (did not get LO not responding, but process would not respond).
Rebooted machine and tried again. No Joy.
I know LO chokes on java regularly, and Zotero needs the Java to work. It appears that the Java itself is not hanging LO, and it is the JDK installed (though LO decides it is pointing to the JRE in the JDK install).
What now? Getting to the point where this is becoming too much trouble to recommend to my students. SUggestions?
Found Plugin via LO extension Manager in disabled state.
Attempted to Enable.
LO stops responding.
I just reinstalled 1.8_91 on the computer where the Zotero plugin did not work with LO. First I tried an older version of LO 5.1.2. Before I downgraded JDK, it did not work with the plugin. After installing 1.8_91, AND SELECTING it under Preferences/LibreOffice/advanced, it worked fine.
Then I did the same thing with the newest LO 5.1.4.2 (i.e., selected the older JDK) and it also works fine with the Zotero plugin. Perhaps 1.8_92 works too, but I don't have it.
IMPORTANT, this is not JRE (Java Runtime Environment). I was unable to downgrade that to 1.8_91, but it didn't matter. It is JDK that is the problem. Fortunately, you CAN have more than one version of JDK.
So just install JDK 1.8_91 (or maybe 92), and select it in LO, and the plugin seems to work fine.
Michael
Either via explicit instructions or a more "forgiving" plug-in that does not have the JDK/JRE version dependency we're seeing here.
My students are suggesting that they wish to go back to EndNote!
Gah! Help us!
Chris
I realize that this is Oracle's fault as much as anyone's but I'm not sure what the nuances of the plug-in dependencies are that require a downgrade.
What is the difference between the JDK versions that has caused this incompatibility?
I'll downgrade when I can find it. Right now the JDK page has _101 and _102 so I'll have to poke around for the _91 and _92.
Thanks though!
Chris
That said, the first thing that is needed to solve a problem like this is to find out what is causing the problem. In this case, it is looking likely that a change in JDK, which does not have any obvious effect on LibreOffice, but which seems to interact with LO in such a way as to prevent the Zotero LO plugin from working correctly. If this can be verified by others testing it out, then the dev team will have something to work with for isolating and fixing the problem. It also seems to provide a potential workaround that will let people keep using Zotero and LibreOffice together until this issue is resolved. To make this easier, here is a link to the older version of JDK for the Mac on my DropBox:
https://www.dropbox.com/s/0nsj7f8k9yvjgfx/jdk-8u91-macosx-x64.dmg?dl=0
I cannot guarantee how long this link will remain stable, but I don't plan to change it in the near future.
FWIW, the reason I switched to Zotero some years back was because of all the bugs and periodic non-functionality of EndNote. Commercial software is not inherently more stable and bug free than open source software. In fact, this comparative (not absolute) reliability of LibreOffice over alternatives is what pushed me to use it more and more.
I, personally, won't switch but my students complain. That was my point.
This does not appear to be a major change in the JDK so it is puzzling to me how that minor change affects LO. I realize it's going to take work but, as you see, we can't necessarily rely upon Oracle to keep the older, compatible versions of the JDK up on their website so the Zotero support team is going to have to either keep a mirror or fix these dependencies.
Look, I know it's a hassle. Lots of us depend upon Zotero for our professional output so my urgency and stridency is merely because of that.
I love what you guys do, keep at it! I'll keep supporting you. Getting the plug-in working needs to be easier and better documented or we need to have fair warnings given during the install process. That's what I'm asking for.
Thanks for the Dropbox link! :-)
Best,
Chris
My only point is that a problem like this is really impossible for any dev team to anticipate. This seems (from the numbers) like this is a minor change in JDK. But as is the case in general for complex systems like this, tiny changes can sometimes have big effects (and big changes can also have no effects). Now that the source of the problem has been identified, it will be possible to try and track down exactly what it was that cause it. Hopefully, the plugin can be made robust against the same kind of change in the future. But there will always be another, unexpected gotcha. It is a constant arms race.
The big thing that OS software has to help it is its ability to use potentially apply large-scale crowd sourcing to this evolutionary scenario. That is, the availability of a large and active user base can rapidly help ID and fix problems. By getting to step one here, it will enable the dev team to more effectively do its part.
Perhaps I'll frequent the developers forum.... :-)
Thanks for the help!
I don't think this is great situation and there's other work that should happen on the word processor integration (e.g. speed improvements), so I do hope Zotero either convinces Simon (the dev who wrote all the code) to check in more regularly or puts someone else on it. There might be capacity to do so after the 5.0 release, but I have no internal insights on this.
All this said -- the bugs here are almost certainly on the Oracle/LO side of things, so all Zotero could have done would be to monitor&warn.
When I updated LO for Mac to 5.1.4.2, it no longer recognized my JRE (which seemed sufficient in previous versions) so after a bit of digging I installed the latest JDK (102). The Zotero extension was suddenly disabled and LO hung whenever I tried to reinstall it. The rollback works fine.
I just wish there were a more efficient way to get that information out there, because probably every single person using Zotero and LO for Mac now is digging around trying to solve the same problem.
Joe
I also downgraded the JDK to _91. It worked in the sense that I can add citations again in LO, but I can't produce a bibliography in the LO document. So overall I am still not operational.
Not sure what to try next. I've lost more than half a day on this, and this thread has been the only thing I've found that gets near helping.
http://kevinallenrodriguez.com/blog/properly-installing-managing-multiple-java-versions-on-os-x/
But I installed the _91 version directly with this command on the terminal (it installs the _91 version, not the most updated):
brew cask install https://raw.githubusercontent.com/caskroom/homebrew-cask/0e78df41e8a27672e313fd7b0d1d7041573a12b3/Casks/java.rb
The JRE could not find later, this was solved with this command:
jenv enable-plugin export
I also had to downgrade LO to 5.0.6, with 5.2 It freezes in the installation of enabling of extensions (in El Capitan):
http://www.libreoffice.org/download/libreoffice-fresh/?type=mac-x86_64&version=5.0.6&lang=en-US
I was going to start a new post about all this and then I found this thread! My goodness, I've been trying to fix this issue on my macbook pro for 2 days now!! Lost so much time on this... I finally downgraded to JDK 1.8_91 and its works fine. Tsk cmbarton for the Dropbox link!
Zotero forum or plugin troubleshooting page should have a dedicated place for this issue apart from this thread, which is very informative BTW.
joehill is so right! Probably "every single person using Zotero and LO for Mac now is digging around trying to solve the same problem" and so this info needs to get out there on the troubleshooting page at least!!
I have all the latest versions of everything I'm running LO 5.2.04, MAC OS X 10.11.6 El Capitan, Zotero 4.0.29.11, LO Zotero plugin 3.5.9, JDK 1.8_101 and I just found out it's the 101 that's the problem.
On the troubleshooting page: https://www.zotero.org/support/word_processor_plugin_troubleshooting, we can find these instructions below, but of course the step 3. is not working as LO hangs when I click enable.
These instructions should be changed and warn users not to install a more recent version of JDK than 1.8_91 for now.
Alex.
------------
LibreOffice 5.1 on Mac OS X El Capitan: No response from plugin
Issue: The out-of-the-box installations of JRE are not being recognized by LibreOffice 5.1 and therefore Zotero's Office plugin doesn't work.
Current Solution: Java Development Kit (JDK) is now needed for the plugin to work – this is different from the Java Runtime Environment (JRE) previously necessary.
1.Download and install Java Development Kit (JDK) v. 8 JDK
2.In LibreOffice: Check in Prefs > Advanced if v 1.8.0_77 is actually selected in the box
3.Go to LibreOffice Tools > Extension Manager, scroll down to “Zotero LibreOffice integration” and select; you should see an “enable” button appear.
4.After enabling, the plugin-in will be responsive to the the Buttons in LibreOffice's toolbar.
Tested on: Libre Office 5.1.1.3 / LO Integration Plugin 3.5.11 / Zotero 4.0.29.7 / JDK 1.8.0_77 / OSX 10.11.3
------------
@ cmbarton: thanks for the link to jdk 1.8_91 in your dropbox. Since the JDK sites only offers newer downloads, I've linked from the documentation to the file in your dropbox – if you could kindly leave the .dmg there until this issue is hopefully resolved. Should this be no longer possible, please give Zotero's LO/Mac user's a heads up in this thread here and I'll remove the link from the documentation.
@cmbarton: Please ignore my request from the previous post.
I think most of us are aware that LO on the Mac has had a bit of a bumpy ride because of java friction. And searching for threads on this forum can be a bit easier if the subject is comprehensively stated (I believe the search function in this forum only does searches of subject lines -- @adamsmith?). I am required to pay nothing to use any of these components, but, as was pointed out, if one wants students to use these products they need to aggressively avoid such issues (though I actually had an LO peep advise that since LO was not used by students, they had no concern for student experience, lol).
So while we need to keep inter-product QA in mind now, we also need to recognize that Java 9 is some six months away, and will undoubtedly break everything ;-)
Thanks all for working the problem. Three days to confirm a work-around, and 6 weeks to confirm that upgrading resolved the problem is not the worst experience one could have.
Would you be "brave" enough to try to upgrade to 5.2.0.4 and see if the issue comes back? You could always roll back to 5.1.5 branch afterwards if you want it to work again.
Note that 5.1.5 is the stable version and 5.2.0.4 is the dev version.
Everyone needs to remember to indicate the versioning of all the components when indicating something blew up as it gets very confusing when you are talking about the versions of an OS, two applications, and two plugins.
@alexanderfarley writes that things went sideways with LO 5.2.0.4, but did not indicate what was set for Java, nor whether with JDK or JRE. There are I think a number of possible glitches at work. @cmbarton downloaded 5.2.0.4 and says it works, and I am assuming that he means it works with Java 1.8_102, yes? As mentioned above, perhaps test with LO Fresh 5.2.1?
Firefox 48.0.1 (current version as of 15.09.2016; available at: https://www.mozilla.org/en-US/firefox/all/#en-US )
Installed plugin: Zotero for Firefox version 4.0.29.11 (available at: https://www.zotero.org/download/ )
LibreOffice 5.0.6.3 (available at: https://downloadarchive.documentfoundation.org/libreoffice/old/ )
Zotero LibreOffice Plugin 3.5.12 (The latest version of the LibreOffice plugin for Zotero 3.0+ is 3.5.12 (compatible with all versions of LibreOffice, all versions of Apache OpenOffice, and OpenOffice.org 3.0-3.3.x; available at: https://www.zotero.org/support/word_processor_plugin_installation ).
Java SE Development Kit 8u91 (available from Oracle at: http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-8u91-oth-JPR ) You must click on the radio button “Accept License Agreement” (I downloaded: Mac OS X 227.29 MB jdk-8u91-macosx-x64.dmg); you will be redirected to an Oracle login window and you have to create an oracle.com account to be able to download archived versions (this is a safety feature intended for allowing software developers access to old versions that do not possess up-to-date safety features!) After you open the .dmg image, direct the installer to install the JDK software at: /Library/Java/JavaVirtualMachines . This will create a new directory “jdk1.8.0_91.jdk” filled with the working files that include the Java Runtime Environment (jre).
Now open LibreOffice 5.0.6.3 and in the Mac menu bar go to LibreOffice>Preferences…>LibreOffice>Advanced . Under Java Options be sure to check the box for “Usse a Java runtime environment”. You will likely see at least two entries for runtime environments in the menu - click the radio button in front of the entry “Oracle Corporation 1.8.0_91” and finally click the blue “OK” button to save the settings. (The newer/updated version of JDK on my Mac is “Oracle Corporation 1.8.0_102” and this does not work with the LibreOffice/Firefox/Zotero constellation.) Please not that the Mac OS operating system is still going to use the latest version of Java JDK (and its associated Java runtime environment) - you can verify the current version used by Mac OS X by opening a terminal and typing: java -version . Also, for general security, you should be sure that under the Update tab of the Java Control Panel( that appears when you open the SystemPreferences window for Mac OS X) has the box checked for “Check for Updates Automatically”.
You should be good to go now for using Zotero with Firefox and LIbreOffice for inserting literature citations and formatting bibliographic citations for your manuscripts.
- - - - -
I'll try the solution that netbuoy came up with yesterday and see if this works for me too (will repost to confirm....)
1) LibreOffice 5.2.1.2 with: a) the latest Oracle JDK version 1.8.0_102 installed and selected in LibreOffices>Preferences>LibreOffice>Advanced>JavaOptions, and b) Zotero's LibreOffice Plugin 3.5.12 installed;
2) Latest Firefox 48.0.1 with Zotero's LibreOffice Plugin 3.5.12 installed.
Thus, for this software constellation, all versions are the most up-to-date and you only need the very newest version of Oracles's JDK (with its embedded Java runtime environment) on your Mac OS. (Hopefully, future updates to Oracle's JDK/jre will not cause Zotero to stop functioning! But now we at least know in what direction to look if this should happen.)
Best wishes to all affected!
I think other people have posted this, but here is the set up I got to work:
Mac: 10.11.5
LibreOffice: 5.2.1.2
Zotero Standalone: 4.0.29.11
Java JDK: 1.8.0_77 (91, 101, and 102 did not work)
It runs a little bit slowly, but it works. Hope this helps other people.