LibreOffice and Java 7

30 replies [Last post]
pwillener
Offline
Last seen: 2 years 1 week ago
Title: ★★
Joined: 31 Jul 2011
Posts: 16

Earlier this week Java 7 RTE was released. Naturally I installed the latest JRE immediately.

Unfortunately LibreOffice (3.4.1) does no longer work; it says it cannot find JRE. Manually trying to assign the JRE location also does not work ("does not contain a Java RTE").

Will future LO releases support JRE 7? Or does anyone know how to use LO with JRE 7?

[Environment: Windows 7 Pro x64]


AttachmentSize
loj.PNG29.5 KB
n/a
therabi
Offline
Last seen: 2 years 48 weeks ago
Title: ★★★★★
Joined: 30 Sep 2010
Posts: 331
Strange but I do not find a

Strange but I do not find a Java 7 on the Java web site for download.


LibreOffice3.4.1, OOo 3.3.0 running on Ubuntu 10.10 and Win7

Heisenberg
Offline
Last seen: 2 years 35 weeks ago
Title:
Joined: 1 Aug 2011
Posts: 1
LibreOffice 3.4.1 cannot find
LibreOffice 3.4.1 cannot find Java 7 under GNU/Linux

Manually adding the JRE location does not work, but LibreOffice still works.

Java 7 (all platforms):
http://www.oracle.com/technetwork/java/javase/downloads/java-se-jre-7-download-432155.html

emilioditurio
Offline
Last seen: 3 years 13 hours ago
Title:
Joined: 1 Aug 2011
Posts: 1
Also the same under Windows

Also the same under Windows XP

Hopefully Java 7 will be fully supported with the planned 3.4.3 release at the end of august.

pwillener
Offline
Last seen: 2 years 1 week ago
Title: ★★
Joined: 31 Jul 2011
Posts: 16
therabi wrote:Strange but I
therabi wrote:
Strange but I do not find a Java 7 on the Java web site for download.

http://www.oracle.com/technetwork/java/javase/downloads/index.html
n/a
therabi
Offline
Last seen: 2 years 48 weeks ago
Title: ★★★★★
Joined: 30 Sep 2010
Posts: 331
Thanks for the link.  Any

Thanks for the link.  Any changes that would require it instead of the working Java 6 version?


LibreOffice3.4.1, OOo 3.3.0 running on Ubuntu 10.10 and Win7

pwillener
Offline
Last seen: 2 years 1 week ago
Title: ★★
Joined: 31 Jul 2011
Posts: 16
All I can do is give you the

All I can do is give you the release notes: http://www.oracle.com/technetwork/java/javase/jdk7-relnotes-429209.html

If you do use LibreOffice, I would wait until it is confirmed that the two work together. I have backed out JRE 7 and reverted to JRE 6.

n/a
pwillener
Offline
Last seen: 2 years 1 week ago
Title: ★★
Joined: 31 Jul 2011
Posts: 16
LibO 3.4.2 as well...
I can confirm that LibO 3.4.2 also does not work with JRE 7.
n/a
Tge92h7
Offline
Last seen: 2 years 25 weeks ago
Title:
Joined: 10 Aug 2011
Posts: 2
I also have a startup problem

I also have a startup problem with LibreOffice 3.4.2 on Java 7( windows xp sp3 , 32bit)

I uninstall Java 7 and install Java 6 update 26 and it worked.

However, in Windows 7 Sp1 64bit, I install Java 7 , LibO 3.4.2 is working fine.


n/a
pwillener
Offline
Last seen: 2 years 1 week ago
Title: ★★
Joined: 31 Jul 2011
Posts: 16
On your Windows 7
On your Windows 7 installation, does LibreOffice "see" Java (Tools, Options, Java)?
n/a
Tge92h7
Offline
Last seen: 2 years 25 weeks ago
Title:
Joined: 10 Aug 2011
Posts: 2
pwillener wrote:On your
pwillener wrote:
On your Windows 7 installation, does LibreOffice "see" Java (Tools, Options, Java)?

No.
n/a
franx
franx's picture
Offline
Last seen: 7 weeks 2 days ago
Title: ★★★
Joined: 30 Sep 2010
Posts: 12
Bug 39659

Bug 39659 - Java 1.7.0 not recognised

[Status: NEW · Reported: 2011-07-29]


n/a
lovidro
Offline
Last seen: 2 years 37 weeks ago
Title:
Joined: 10 Nov 2011
Posts: 1
I tried to install 3.4.4

I tried to install 3.4.4 version with JRE 1.7_01 (I didn't kwnow that bug before today) and saw that bug keeps untouched and in fact a little worse than before. At versions 3.4.3 and earlier, the installer "said" that our Java runtime was corrupted (we knew what to do). But now the installer indicates nothing and when I go to use it, it cancels what that famous message ("... illegal operation and needs to close"). Proof is that when I installed with JRE 1.6 all ran nice and smooth.

jaanusa
Offline
Last seen: 2 years 11 weeks ago
Title:
Joined: 16 Nov 2011
Posts: 1
crash on 3.4.4 startup
Upgraded from 3.4.3 to 3.4.4 (WinXP with Java7 installed). Installation went smoothly without no complaints but then LO 3.4.4 crashed during startup. Took time to realize that problem was with Java7 (by downgrading to 3.3.4 where I saw warning messages and as able to turn Java off). Upgraded then again to 3.4.4 and LO first start complained about missing Java. Further startups went without error messages.
n/a
chastom
Offline
Last seen: 11 weeks 3 days ago
Title: ★★★
Joined: 30 Jan 2011
Posts: 47
Workec with 3.4.5 and Java 7u2

I performed a clean Install of LO 3.4.5, and both 32 and 64 bit Java 7u2 on my Dell Laptop. No Install problems, and is working great. Running Windows 7sp1 64bit.

Java 7u2 or LO3.4.5 maybe solved the conflict problems...I hope this experience is not just luck.


linux2k
Offline
Last seen: 2 years 22 weeks ago
Title:
Joined: 1 Feb 2012
Posts: 1
work with 3.4.5 and Java 7u2
I also success install LO 3.4.5 and Java 7U2 on Windows 7 sp1 64 bit.
Try to reinstall after delete c:\Users\{user}\AppData\Roaming\LibreOffice if it is existed
n/a
chastom
Offline
Last seen: 11 weeks 3 days ago
Title: ★★★
Joined: 30 Jan 2011
Posts: 47
LO3.5 and Java 7 caveats

I do not know what Operating System you are using.

However, if you are using Windows 7sp1 64bit, you must also install Java for the 32bit OS. This will install Java in the Program Files(x86) folder. This is the folder that LibreOffice will access.

Tools > Options >LibreOffice >Java

On the Java Options Page:

1. Check the box “Use a Java Runtime environment”

2. Click (check the button) “Oracle Corporation --- 1.7.0.03”

The Location information on this page should be: C:\Program Files(x86)\Java\jre7

Note:

The LibreOffice “Features and Fixes” web page has this quote “Support for Java 7 (1.7) added. User can select between Java 6 or 7 engine, if both are installed.”


However, I have found that a clean install of LO and Java worked best for me.


chastom
Offline
Last seen: 11 weeks 3 days ago
Title: ★★★
Joined: 30 Jan 2011
Posts: 47
Vista? sp2? 32bit? 64bit?

I do not have access to a Vista machine, but if my memory is correct, the general instructions in my previous post will work if you have a Vista 64 bit system. I would appreciate correction or confirmation from any experienced Vista user of this forum.

If you are running vista 32bit, then I think the folder LO will access via the User account will be “Program Files”, as opposed to the legacy folder (Program files (x86) found on the 64 bit version.

You must first and foremost Install the 32 bit version of Java.

This link will take you to the Java SE Runtime Environment 7 Downloads.

http://www.oracle.com/technetwork/java/javase/downloads/jre-7u3-download-1501631.html

Download and Install this one if you have a Windows 32bit or 64bit.

Windows x86 offline 19.38mb Jre-7u3_windows_i586.exe


Download and Install this one if you have a Windows 64bit system.

Windows 64 20mb Jre-7u3_windows_x64.exe



chastom
Offline
Last seen: 11 weeks 3 days ago
Title: ★★★
Joined: 30 Jan 2011
Posts: 47
What is the bug?

us a 32 bit system. just downloading from this page. Please file a bug.

? Sorry, I do not understand your last post. What is the bug?



chastom
Offline
Last seen: 11 weeks 3 days ago
Title: ★★★
Joined: 30 Jan 2011
Posts: 47
Hum... I am out of ideas

Hum... I am out of ideas.

You might try uninstalling Java 7, and then Install Java 6 u31. That will at least let you know if the problem is Java 7.

Good Luck


pwillener
Offline
Last seen: 2 years 1 week ago
Title: ★★
Joined: 31 Jul 2011
Posts: 16
Did you do what chastom

Did you do what chastom recommended in post #17 ?

Check your Program Files\Java folder if it contains a jre7 or jre1.7 subfolder.

n/a
chastom
Offline
Last seen: 11 weeks 3 days ago
Title: ★★★
Joined: 30 Jan 2011
Posts: 47
Does problem deal with extensions

Perhaps I misunderstood your original question. “Could not create java implementation loader” usually relates to Extension addons, and is not necessarily a Java and LO functional problem.

The Java and Extension's problem have been around for a long time, both with OpenOffice and LibreOffice, as indicated by the various blogs etc.

Other that a complete reinstall of both LO and Java, the standard suggestions that have worked for many are:

  1. In LibreOffice Writer, go to Tools >> Options >>LibreOffice>>Java

  2. Uncheck the button “Oracle Corporation --- 1.7.0.03”, or whatever version is displayed under “Java runtime environments 9JRE) already installed”

  3. unchecked the "Use a Java runtime environment”.

  4. Close LO Writer

  5. Open Writer again

  6. In LibreOffice Writer, go to Tools >> Options >>LibreOffice>>Java

  7. Check the "Use Java runtime environment”

  8. Check the button “Oracle Corporation --- 1.7.0.03”, or whatever version is displayed under “Java runtime environments 9JRE) already installed”

  9. Close and reopen LO again, and now try to enable the extension you are having trouble with.

Others have had success by deleting the “uno_packages folder” in the LibreOffice user folder and then restarting LibreOffice. However, this will remove your extensions, and they will have to be reinstalled.

The extension you are using could be old or not constructed for the version of LO you are using, but for some reason, disabling and re-enabling the extension will sometime work.



chastom
Offline
Last seen: 11 weeks 3 days ago
Title: ★★★
Joined: 30 Jan 2011
Posts: 47
Should perhaps move to Extensions forum

Your answer indicates to me that the problem you originally stated in post #16 did in fact have to do with “Extensions”. Even though Java 7 appears to be involved, this discussion has drifted from the original subject of this thread.

I suggest you post your question on the “LibreOffice Extensions and Customization” page located here:

http://en.libreofficeforum.org/forum/extensions-customization/extensions

You should provide more specific detail. It is a bit difficult to read minds :)

  1. Include your OS (Vista 32bit)

  2. LO version (3.5)

  3. Java version (7u3)

  4. What is the Name of the specific Extension and version you are trying to Install / enable?



chastom
Offline
Last seen: 11 weeks 3 days ago
Title: ★★★
Joined: 30 Jan 2011
Posts: 47
Language difficulty & wrong thread

pikaczu,

Edited...note added 3-6-2012

The LibreOffice Extension site Indicates that the Language Tool 1.6 is not yet available for software download. The old 1.5 version is not listed for use with LO3.5. Watch this extension page for when the 1.6 version will be available and it might solve your problem.

http://extensions.libreoffice.org/extension-center/languagetool/releases/1.6


Niestety nie mogę pomóc rozwiązać ten problem. Jeśli instrukcje Morfologik bloga nie działają, nie mam odpowiedzi. Być może nowa wersja później może rozwiązać problem. Korzystanie z tłumacza ... nie może czytać polską.

Unfortunately I can not help solve this problem. If the instructions do not work Morfologik blog, I have no answers. Perhaps the new version may fix the problem later. Using an interpreter ... can not read Polish.


“Należy upewnić się, czy w systemie zainstalowana jest Java w wersji co najmniej 1.6. Środowisko GIJ ma błędy uniemożliwiające użytkowanie LT; należy korzystać z Javy w wersji IcedTea lub firmy Sun. Ta wersja środowiska Java musi być widoczna dla OpenOffice.org (Narzędzia > Opcje > Java).Nazwa użytkownika w systemie Windows nie może zawierać polskich liter, jeśli pakiet OpenOffice.org jest starszy niż 3.1.W systemie Ubuntu konieczna jest instalacja pakietu openoffice.org-java-common, gdyż OpenOffice jest domyślnie instalowany bez bibliotek obsługujących Javę.”

Make sure your system is installed Java version at least 1.6. Environment GIJ have bugs that prevent the use of LT and must use the Java version of IcedTea or Sun. This version of Java must be visible to OpenOffice.org (Tools> Options> Java). Username in Windows can not contain Polish characters, if the package OpenOffice.org is older than Ubuntu 3.1.Of need to install the package openoffice.org -java-common, since OpenOffice is installed by default with no libraries that support java.”

Good Luck.

Quota pars operis tanti nobis committitur”




ljelly
Offline
Last seen: 2 years 12 weeks ago
Title:
Joined: 24 Apr 2012
Posts: 1
java

this worked for me:

go to tools options java in libreoffice.

then click add

add the folder manually it should be in this location

C:\Program Files\Java\jre7\bin 

if you have a x86 install it will be in the x86 program files folder for java.

it worked for me!

n/a
mary2012
Offline
Last seen: 2 years 13 weeks ago
Title:
Joined: 3 May 2012
Posts: 1
good!

good!

n/a
alt3rn1ty
Offline
Last seen: 2 years 12 weeks ago
Title:
Joined: 7 May 2012
Posts: 1
Is Java required ?

New user to the forum so forgive if the information is posted elsewhere ..
Reading through this topic a lot of people are concerned about the new Java

My question is, why ?
I believe one of the goals of LibreOffice is to move away from Java as a dependancy.
Since I changed from using OpenOffice (the only software I ever used which needed Java runtime), I have not re-installed any Java runtime.
LibreOffice seems to run fine without it .. What am I missing ?
Is there a topic somewhere which lists why anyone would still need Java ?

Thanks in advance for any information

Alt.

PeterRoots
Offline
Last seen: 38 weeks 4 days ago
Title: ==Moderator==
Joined: 25 Oct 2011
Posts: 941
You are not missing much, if

You are not missing much, if anything, if you don't use Base

http://www.libreoffice.org/get-help/system-requirements/

Linux Mint 15 LibreOffice 4.1.1.2 : OpenSUSE 12.3 LibreOffice 4.0.3

sfosparky
sfosparky's picture
Offline
Last seen: 1 year 10 weeks ago
Title:
Joined: 10 Jul 2012
Posts: 6
How can one disable the JRE "error" messages?

I for one am not willing to install a specific back-version'ed JRE simply to please LibreOffice; I'll use Access if I need to create a database without needing to install multiple JRE versions on my computer.

With that in mind, how can one disable the essentially useless JRE Required / Defective messages?

Cheers & thanks,
sfosparky

ScottMSanders
Offline
Last seen: 1 year 48 weeks ago
Title:
Joined: 25 Nov 2011
Posts: 1
Java 7 and LibreOffice 3.6+

Java 7 and LibreOffice 3.6+ play well together now.

Except if you then uninstall Java.

Then LibreOffice will not load until you delete the folder C:\Users\*YOUR USERNAME*\AppData\Roaming\LibreOffice.

n/a
sfosparky
sfosparky's picture
Offline
Last seen: 1 year 10 weeks ago
Title:
Joined: 10 Jul 2012
Posts: 6
Re: "Java 7 and LibreOffice

Re: "Java 7 and LibreOffice 3.6+ play well together now", above.

Yes, I noticed that Version 3.6.0.4 (Build ID: 932b512) accepts and is now apparently happy to interoperate with  Tools —> Options —> LibreOffice —> Java —> Add  —> Oracle Corporation 1.7.0_5.

I say "apparently happy" because I no longer receive JRE startup error messages and all LibreOffice components appear to be usable…

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.