[Libreoffice] [PATCH] If there's no java, don't do the java stuff

Michael Stahl mstahl at redhat.com
Mon Jan 9 05:56:14 PST 2012

On 09/01/12 13:04, Christophe Strobbe wrote:
> So java_uno_accessbridge is only added when "SOLAR_JAVA" is set to 
> "TRUE", which AFAICT is something that happens at compile time.
> I assume this patch is part of the work to (locate and) reduce Java 
> dependencies in order to (1) make it easier for developers to build 
> LibreOffice (e.g. when working on patches that have nothing to do 
> with Java), and (2) eventually transition to a LibreOffice without 
> any Java (i.e. for everybody, not just developers). So when the Java 
> Accessibility API has been replaced by the IAccessible2 API, and when 
> the Java-dependent wizards have been replaced, SOLAR_JAVA will become 
> irrelevant. I'm basically trying to increase my understanding of 
> what's going on, so feel free to correct me of I get it wrong :-)

indeed SOLAR_JAVA is essentially just for developers to get a
(marginally) faster build, and for esoteric platforms where Java isn't
available; release builds on mainstream platforms are going to have Java
enabled (as it's necessary for Base, extensions, a11y and a couple other

More information about the LibreOffice mailing list