[Solved] Java Runtime Environment problems

Issues with installing under all versions of MS Windows

[Solved] Java Runtime Environment problems

Postby ptoye » Sun Jul 08, 2012 7:57 pm

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
Last edited by ptoye on Mon Jul 09, 2012 1:04 pm, edited 1 time in total.
Peter
OO 4.1.1 on MS Windows 7 64-bit
ptoye
 
Posts: 225
Joined: Mon Apr 21, 2008 11:07 am
Location: Reading, England

Re: Java Runtime Environment problems

Postby RoryOF » Sun Jul 08, 2012 8:06 pm

/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.
Apache OpenOffice 4.1.2 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
Offline until 28 September 2016
User avatar
RoryOF
Moderator
 
Posts: 22113
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Java Runtime Environment problems

Postby ptoye » Sun Jul 08, 2012 8:12 pm

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?
Peter
OO 4.1.1 on MS Windows 7 64-bit
ptoye
 
Posts: 225
Joined: Mon Apr 21, 2008 11:07 am
Location: Reading, England

Re: Java Runtime Environment problems

Postby RoryOF » Sun Jul 08, 2012 8:17 pm

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/forum/viewtopic.php?f=15&t=54746#p240389
Apache OpenOffice 4.1.2 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
Offline until 28 September 2016
User avatar
RoryOF
Moderator
 
Posts: 22113
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Java Runtime Environment problems

Postby ptoye » Sun Jul 08, 2012 8:28 pm

Thanks Rory. Isn't it time that OO got itself up to date?
Peter
OO 4.1.1 on MS Windows 7 64-bit
ptoye
 
Posts: 225
Joined: Mon Apr 21, 2008 11:07 am
Location: Reading, England

Re: Java Runtime Environment problems

Postby RoryOF » Sun Jul 08, 2012 8:52 pm

It's not OpenOffice's fault but that of Java developers changing established entry points.
Apache OpenOffice 4.1.2 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
Offline until 28 September 2016
User avatar
RoryOF
Moderator
 
Posts: 22113
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Java Runtime Environment problems

Postby ptoye » Mon Jul 09, 2012 12:58 pm

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.
Peter
OO 4.1.1 on MS Windows 7 64-bit
ptoye
 
Posts: 225
Joined: Mon Apr 21, 2008 11:07 am
Location: Reading, England

Re: Java Runtime Environment problems

Postby Bill » Mon Jul 09, 2012 4:12 pm

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
Bill
 
Posts: 5733
Joined: Sat Nov 24, 2007 6:48 am

Re: Java Runtime Environment problems

Postby ptoye » Mon Jul 09, 2012 7:00 pm

Ah - I've got 64-bit Windows. And (now) 32-bit Java 6. And OO is now working.

Thanks all.
Peter
OO 4.1.1 on MS Windows 7 64-bit
ptoye
 
Posts: 225
Joined: Mon Apr 21, 2008 11:07 am
Location: Reading, England

Re: Java Runtime Environment problems

Postby PGAGA » Wed Jul 11, 2012 1:52 am

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
OpenOffice.org 3.2.x, StarOffice 5.1, 7, 8 - OS X, WinXP, OS/2
StarOffice 7, 8, Oracle Open Office 3.3.1, LibreOffice 3.x.x - OS X, Ubuntu, WinXP
NeoOffice 2.2.6, 3.1.2, 3.2.x 3.3 - OS X
Apache OpenOffice 3.4.x - WinXP, OS X, OS/2
PGAGA
Volunteer
 
Posts: 481
Joined: Sun Dec 07, 2008 10:54 pm

Re: [Solved] Java Runtime Environment problems

Postby Carlisle » Wed Dec 23, 2015 3:05 pm

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?
I think I'm going to try the 3 Week Diet to lose some weight. Who wants to start a group?
Carlisle
 
Posts: 1
Joined: Tue Dec 22, 2015 11:03 pm

Re: [Solved] Java Runtime Environment problems

Postby thomasjk » Wed Dec 23, 2015 6:52 pm

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.
Tom K.
Windows 10 Home version 1511 Build 10586.104
LibreOffice 5.1.4.2
thomasjk
Moderator
 
Posts: 4252
Joined: Tue Dec 25, 2007 4:52 pm
Location: North Carolina


Return to MS Windows

Who is online

Users browsing this forum: No registered users and 14 guests