Best JRE for LibreOffice on a 64-bit system: 32 or 64 bit ?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

This may sound obvious but I am not certain of the answer and wanted to
double-check here.

When installting LibreOffice for Windows for use on a 64-bit system, is
it best to install the 32-bit or the 64-bit JRE ?

Thanks for any information on this.

Fabian

As I know, LibreOffice in Windows it's compiled only for 32-bits.
Only 32-bit JRE works in LibreOffice for windows.

Miguel Ángel.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[...]

As I know, LibreOffice in Windows it's compiled only for 32-bits.
Only 32-bit JRE works in LibreOffice for windows.

Actually I think I won't install JRE at all, as Base is not a
requirement in this particular installation I am doing.

Regardless, I'd still like to know what's the recommended JRE to install
in a 64-bit Windows environment.

I didn't find a source for your indication that "Only 32-bit JRE works
in LibreOffice for windows". In fact JRE as a requirement for
LibreOffice (Base or else) is not listed at all under the requirements:
http://www.libreoffice.org/get-help/system-requirements/

F.

- --
- --
Fabián Rodríguez

Regardless, I'd still like to know what's the recommended JRE to install
in a 64-bit Windows environment.

This has already been answered.

Libreoffice is *only* 32 bit on Windows. You can NOT use a 64 bit JRE with a 32bit program. Period. So, you must use the 32bit JRE.

I didn't find a source for your indication that "Only 32-bit JRE works
in LibreOffice for windows".

There probably isn't, but it is irrelevant - yes, you can *install* a 64bit JRE, but Libreoffice can not *use* it.

In fact JRE as a requirement for LibreOffice (Base or else) is not
listed at all under the requirements:
http://www.libreoffice.org/get-help/system-requirements/

It isn't a *requirement*, but it is necessary for certain things to operate (correctly, or at all), like for example the wizards.

Just install the 32bit JRE and forget about it...

Hi Fabian,

I'm running LibreOffice 3.4.4 on several Linux machines running Ubuntu 11.10. Some are 32 bit and some are 64 bit. For LibreOffice I'm using both 32 bit and 64 bit Java. On the 32 bit systems for LibreOffice only I'm using jre-6u21-linux-i586, and on the 64 bit systems for LibreOffice I'm using jre-6u21-linux-x64. Everything works perfectly. I'm not sure you could install the 32 bit Java on a 64 bit machine. I never tried.

Don

On windows, sure you can, I do it all the time...

But since Linux has 64 bit versions of Libreoffice, you don't *need* to install the 32 bit version... but as long as you have a 64 bit multilib system (capable of installing/running 32bit apps), then I'm sure you could install both versions.

The important thing is to install the *same* version (32 or 64 bit) as the version of Libreoffice (32 or 64 bit) that is installed. *They* *must* *match*.

Thank you so much for the clarification!!!!!!

Hi :slight_smile:
The _21 is probably the best one for Office so don't uninstall it until you have tried out the 1.7 (if you ever get time to do that!).  I think Ubuntu 10.04 LTS uses _21 (or _22 or _20 which are kinda fine too for LO).  Note that there is much less problem running older versions of java in Gnu&Linux thn there might be in Windows although obviously nothing is completely safe, especially not java.  Even in Windows LO allows you to use a different version of java than the version used by other apps.  Most apps just take the latest version but LO allows you to select which one.  It'd be really nice to clear ones that you are not using off the machine completely of course.
Regards from
Tom :slight_smile:

Hi :slight_smile:
Java dependence in LO seems to be something most people are moving away from.  Sadly Base, many wizards and perhaps a lot of Extensions / Add-ons still need it but the devs have done a great job of clearing it out of most of LO.  Much appreciated!
Regards from
Tom :slight_smile:

The problem is, in windows, if you have a vulnerable version of java, it can be exploited by whatever malware wants to exploit it, regardless of what you tell other apps to use.

It is simply unwise to keep old/exploitable version of java on any system.

Maybe this can help you

i use Libreoffice and have installed the next JRE's;

JRE 1.6.u30 x86
JRE 1.6u30 x64
JRE 1.7u2 x86
JRE 1.7u2 x64

libreoffice ofrcourse only uses the x86 versions ... and only the 1.6...
IE 64bit uses the x64 jre
FFox uses the x86 jre since it's 32 bit

all other 64 bit apps use 1.7 x64
all other 32 bit apps use 1.7 x86

it depends on the application which jre is used... it has to be compatible with it's bit-code...

Met vriendelijke groeten,

Michael Bogaerts
Zaakvoerder ~ F1/Help PC-Herstellingen

Hi :slight_smile:
You might be able to turn off java completely.
Tools - Options - Java

Generally and for most programs it is best to have only the very newest JRE.  It is always written with security flaws which we don't find out about until later.  The company that produces it assures us that their newer one is "safer" or even sometimes say it is safe but then a month or so later tell us that we have to upgrade again because that version has horrendous vulnerabilities.

So, LibreOffice is trying to write-out any need for java and at the moment it is only needed for a fwe things such as the database (if you use the default back-end that is embedded in Base), a few wizards and some extensions.

Where it hasn't been written-out it seems their best version is 6_21 or on Windows 6u21 unless you are using the very newest beta-testing pre-release version of LibreOffice (the 3.5.x branch) in which case java 7_something should be best.  In LibreOffice 3.3.x and 3.4.x any version higher than 6_24 created problems for a lot of people and higher numbers even made LO crash in quite a few cases.  If you are using higher numbers without hassle then you can probably turn off java altogether (in LO)

Just my 2cents from watching this list a lot
Regards from
Tom :slight_smile:

Am 17.01.2012 09:51, Tom Davies wrote:

Where it hasn't been written-out it seems their best version is 6_21 or on Windows 6u21

Why?

Am 17.01.2012 09:51, Tom Davies wrote:

Where it hasn't been written-out it seems their best version is 6_21 or on Windows 6u21

Why?

Am 11.01.2012 19:28, Tom Davies wrote:

The _21 is probably the best one for Office

Why?

Am 11.01.2012 20:08, Tanstaafl wrote:

It is simply unwise to keep old/exploitable version of java on any system.

There is no technical reason to do so on a Windows system. Under Linux there may be a tiny fraction of users like me who face a certain performance problem in Base.

Updates are typically multi-OS. Example:
<http://www.oracle.com/technetwork/topics/security/javacpujune2011-313339.html#PatchTable/>

Scroll down to the 'Appendix - Oracle Java SE' and read:
<quote>
CVSS scores below assume that a user running a Java applet or Java Web
Start application has administrator privileges (typical on Windows).
Where the user does not run with administrator privileges (typical on
Solaris and Linux), the corresponding CVSS impact scores for
Confidentiality, Integrity, and Availability are "Partial" instead of
"Complete", and the corresponding CVSS Base score is 7.5 instead of 10
respectively.
</quote>

Ditto for the October 2011 updates:
<http://www.oracle.com/technetwork/topics/security/javacpuoct2011-443431.html>

And:
http://java.com/en/download/faq/remove_olderversions.xml
<quote>
Should I remove older versions of Java?
We highly recommend users remove all older versions of Java from your
system.
Keeping old and unsupported versions of Java on your system presents a
serious security risk.
Removing older versions of Java from your system ensures that Java
applications will run with the most up-to-date security and performance
improvements on your system.
</quote>

Regarding performance issues, from the same web page:
<quote>
Do I need older versions of Java?
The latest available version is always compatible with the older
versions. However, some Java applications (or applets) can indicate that
they are dependent on a particular version, and may not run if you do
not have that version installed. If an application or web page you
access requires an older version of Java, you should report this to the
provider/developer and request that they update the application to be
compatible with all Java versions.
</quote>

So... run older versions at *your* own risk. Just please do not advise
others to do the same without sufficent warnings.