[Libreoffice] JRE1.5 compatibility

Petr Mladek pmladek at suse.cz
Fri Feb 11 04:37:06 PST 2011


Caolán McNamara píše v Čt 10. 02. 2011 v 21:03 +0000:
> On Thu, 2011-01-27 at 12:19 +0100, Antoine POURCHEZ wrote:
> > Hi,
> > Some jar LibreOffice3.3 (Juhl, Jurt, ...) have been compiled with a
> > JRE1.6, contrary to the same jar in OpenOffice3.3 remaining compatible
> > with JRE1.5.
> > Is it a choice or a compilation error?
> 
> What OS was this btw.
> 
> Petr: Do we use the --with-java-target-version for the Universal
> builds ?

Yup, I see --with-java-target-version=1.5 in all
libreoffice-3-3/build/distro-configs/LibreOffice{Linux,MacOSX,Win32}.conf.in.

It might be a Windows-specific problem. Fridrich, could you please have
a look what options are used during the compilation?

I am using openJDK-1.6 and --with-java-target-version=1.5. All classes
in the jars have the bytecode version 0.49 or lower. I see the same in
the official LO-3.3.0 Linux build. Note that SDK-1.6 produces the
bytecode version 0.50 by default.


Best Regards,
Petr



More information about the LibreOffice mailing list