Description: On MacOSX 10.12.6. I have a working LibreOffice 5361 and 5412 which both recognize Oracle JDK8 (u131). I downloaded Oracle Java JDK9 and installed it. Neither LO 5361 nor LO 5412 find the newly installed JDK9, under LibreOffice-Preferences-Advanced. My own daily master build (LOdev) finds JDK9 automatically. Steps to Reproduce: See above Actual Results: Current release builds of LO do not automatically detect JDK9 Expected Results: LO should always detect the currently installed most recent version of the JDK Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0
@Stephan : one for you ?
On this page : http://www.oracle.com/technetwork/java/javase/downloads/index.html it states that the JDK9 contains a complete JRE - unfortunately, this does not appear to be the case, at least from a cursory inspection of the app bundle's contents in the JavaVirtualMachine directory. A separate JRE download is available, but again not recognized by LO after installation.
Update : LanguageTool doesn't function with Java9. In Writer alpha 6.0, I keep getting the following error message with a right-mouse button click on a word: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at net.loomchild.segment.srx.io.Srx2SaxParser.<init>(Srx2SaxParser.java:173) at org.languagetool.tokenizers.SrxTools.createSrxDocument(SrxTools.java:51) at org.languagetool.tokenizers.SRXSentenceTokenizer.<init>(SRXSentenceTokenizer.java:53) at org.languagetool.tokenizers.SimpleSentenceTokenizer.<init>(SimpleSentenceTokenizer.java:37) at org.languagetool.Language.<clinit>(Language.java:60) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:292) at org.languagetool.Languages.createLanguageObjects(Languages.java:110) at org.languagetool.Languages.getAllLanguages(Languages.java:96) at org.languagetool.Languages.<clinit>(Languages.java:38) at org.languagetool.openoffice.Main.getLocales(Main.java:552) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:563) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496) ... 11 more java.lang.NoClassDefFoundError: Could not initialize class org.languagetool.Languages at org.languagetool.openoffice.Main.getLocales(Main.java:552)
(In reply to Alex Thurgood from comment #3) Please ignore the last comment - wrong bug...
Patches in for 5.4.2 and 5.3.7 https://bugs.documentfoundation.org/show_bug.cgi?id=100501#c8
*** This bug has been marked as a duplicate of bug 100501 ***