Page 1 of 1

[Solved] Java Runtime Environment problems

Posted: Sun Jul 08, 2012 7:57 pm
by ptoye
Having found that OO only works with a 32-bit JRE I've installed it, but OO says that neither C:\Program Files (x86)\Java\jre7 nor C:\Program Files (x86)\Java\jre7\bin contain a valid JRE. But as far as I can see they're OK, and going to the bin directory in a console session and doing a "java -version" certainly shows a 32-bit JRE.

Any ideas how to get OO to work again? Quickly?


Crossposted to
http://www.oooforum.org/forum/viewtopic.phtml?t=167904

RoryOF, Moderator

Re: Java Runtime Environment problems

Posted: Sun Jul 08, 2012 8:06 pm
by RoryOF
/Tools/Options/OpenOffice.org/Java and check the box for your detected Java 6. Otherwise you will have to enter the path to it, which won't be a Jre7 path.

Re: Java Runtime Environment problems

Posted: Sun Jul 08, 2012 8:12 pm
by ptoye
Thanks for the amazingly fast answer.

I don't have a JRE6 - I deleted it because it's out of date. Doesn't OO admit the existence of Version 7?

Re: Java Runtime Environment problems

Posted: Sun Jul 08, 2012 8:17 pm
by RoryOF
Here we go again! Has no one ever heard of a Forum search?

The authors of Java 7 changed some of the entry points, with the result that some Java 6 applications fail. One of these happens to be OpenOffice. Under Windows one must install a 32 bit Java (because OpenOffice is a 32 bit application) and because of the changes in Java 7, this must be Java 6. A 32 bit Java 6 can be downloaded from the second link in this posting
http://user.services.openoffice.org/en/ ... 46#p240389

Re: Java Runtime Environment problems

Posted: Sun Jul 08, 2012 8:28 pm
by ptoye
Thanks Rory. Isn't it time that OO got itself up to date?

Re: Java Runtime Environment problems

Posted: Sun Jul 08, 2012 8:52 pm
by RoryOF
It's not OpenOffice's fault but that of Java developers changing established entry points.

Re: Java Runtime Environment problems

Posted: Mon Jul 09, 2012 12:58 pm
by ptoye
100% agreed, but what can OO do but catch up? I can't agree that the Java developers were right in changing things, but they have the whip hand. See Microsoft for similar behaviour.

Re: Java Runtime Environment problems

Posted: Mon Jul 09, 2012 4:12 pm
by Bill
Java 7 update 5 works on 32-bit Vista. The problem is on 64-bit Windows. It is a release blocker for AOO 3.4.1.

Bug 119525 -AOo doesn't work with Java 1.7 on Windows

Re: Java Runtime Environment problems

Posted: Mon Jul 09, 2012 7:00 pm
by ptoye
Ah - I've got 64-bit Windows. And (now) 32-bit Java 6. And OO is now working.

Thanks all.

Re: Java Runtime Environment problems

Posted: Wed Jul 11, 2012 1:52 am
by PGAGA
Tuesday, July 10, 2012
Bill wrote:Java 7 update 5 works on 32-bit Vista. The problem is on 64-bit Windows. It is a release blocker for AOO 3.4.1.

Bug 119525 -AOo doesn't work with Java 1.7 on Windows
Hardly a release blocker, since Java 6 is still being maintained.

Phil

Re: [Solved] Java Runtime Environment problems

Posted: Wed Dec 23, 2015 6:52 pm
by thomasjk
Carlisle wrote:Apparantly mine doesn't contain a valid JRE either. I think my JRE is 64 bit. How can I change it to 32 bit to get it to work?
If you are really running V3.1 of Openoffice you need JRE 1.6 http://www.oracle.com/technetwork/java/ ... 45-oth-JPR. Select the x86 version. The JRE 1.6 version is very old. I suggest you update to AOO version 4.1.2 and JRE 1.8 http://www.oracle.com/technetwork/java/ ... 33155.html. Again select the x86 version.

Edit:
I'm assuming that you have already checked Tools-->Options-->Openoffice-->Java and checked use "Java Runtime Environment" and clicked the radio button next to the JRE in the list presented.