<div dir="ltr"><div>Hi, my name is Ken and I am new to this development list, please<br></div><div>bear with me.  I am trying out the new LibreOffice 5.0 64 bit version</div><div>on Windows.  Instead of using the Oracle JDK I prefer the ZuluJDK</div><div>found here: <a href="http://www.azulsystems.com/products/zulu/downloads">http://www.azulsystems.com/products/zulu/downloads</a></div><div><br></div><div>Very nearly every other program I have tried works well with</div><div>the ZuluJDK, but LibreOffice 5.0 does not detect ZuluJDK as </div><div>a valid Java JRE or as containing one.  It is set up as my</div><div>JAVA_HOME and the bin directory is in my path.</div><div><br></div><div><div>When I run LibreOffice, ZuluJDK does not automatically appear</div><div>under the Tools->Options->Advanced item.  Even when trying</div><div>to use the add button to manually set the JRE it fails with the</div><div>error:</div><div><br></div><div>"The folder you selected does not contain a Java runtime environment.</div><div>Please select a different folder."</div></div><div><br></div><div>I suspect it has something to do with one or both of the vendor</div><div>lists in LibreOffice.  I was looking through the source and it</div><div>appears that in one place javavendors.xml or perhaps this path</div><div>core/jvmfwk/distributions/OpenOfficeorg/javavendors_wnt.xml</div><div>is crucial to this.  Then in other places that mention plugins</div><div>core/jvmfwk/plugins/sunmajor/pluginlib/vendorlist.cxx seems<br></div><div>to be used for vendor name checking.  I am a developer with</div><div>some C and C++ knowledge, so I do understand that their</div><div>are a number of other files involved such as framework.cxx</div><div>and sunjavaplugin.cxx, but I admit to not following all of it.</div><div><br></div><div>When querying the ZuluJDK JVM using a simple program</div><div>System.getProperty("java.version") and java.jvm.version both</div><div>return a value of "Azul Systems, Inc."  I am guessing this is</div><div>why LibreOffice cannot detect the ZuluJDK.  I only see IBM,</div><div>Oracle and Sun in the list for valid Windows JRE vendors.</div><div><br></div><div>I hope this is the correct place to post this.  I was thinking</div><div>I should file this as bug report as well, but I was not sure</div><div>since LibreOffice 5.0 is in development and ZuluJDK may</div><div>not be officially supported by LibreOffice.</div><div><br></div><div>I hope some of the information I have provided can lead to</div><div>a solution for users of ZuluJDK.  I know that LibreOffice is</div><div>not as dependent on a JRE as it used to be, but some</div><div>functions still need it.  Thank you for you time.</div></div>