[Libreoffice] Bug 39659 - Java 7 not recognised -- missing or adjustment to distribution specific "vendorInfos" needed for the new Oracle JRE

V Stuart Foote VStuart.Foote at utsa.edu
Wed Nov 23 11:15:20 PST 2011


Can someone double check this. UNO Runtime Environment URE/jvmfwk looks
to have Java vendor dependencies for each OS distribution.

 

In libreoffice-ure-3.4.4.2\jvmfwk\distributions\OpenOfficeorg\

 

The appropriate javavendors_[freebsd|linux|macosx|os2|unx|wnt].xml
template gets copied from libreoffice-ureRELEASE/jvmfwk as
javavendors.xml for build.

 

Looks like a string match against list of JRE vendorInfos and release
level gets performed in URE/core/jvmfwk/source/fwkbase.cxx

 

So question?  Was vendor info for JRE 7 changed from "Sun Micrsystems
Inc."? Is fix as simple as adding new <vendorInfos> stanzas for "Oracle
America, Inc." or "Oracle Corporation" to match new JRE release?

 

OpenGrok review shows "Oracle Corporation" and version 1.7.0 in the
javavendors_linux.xml; but it is missing in all the other
distributions/OpenOfficeorg, including the javaendors_wnt.xml for
Windows which I've had issues with.

 

I can't follow the code for the string query against the binary, so do
not know which would return (the FileStringInfo, or the Signature) when
JRE binary and PATH are parsed during Java JRE selection--
(core/cui/source/options/optjava.src).

 

Unable to build and test--could someone have a go.

 

Thanks.

 

vsf

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111123/a37b0288/attachment.htm>


More information about the LibreOffice mailing list