[Solved] Snow Leopard OS X Java 1.6 update problem

Discuss setup / installation issues - Add a spell checker, Language pack?
Post Reply
PGAGA
Volunteer
Posts: 481
Joined: Sun Dec 07, 2008 10:54 pm

[Solved] Snow Leopard OS X Java 1.6 update problem

Post by PGAGA »

Thursday, October 21, 2010

With the latest OS X Java 1.6 update 3, OOo and derivatives after 3.1.x - 3.2, 3.2.1 (OOO and GO-oo), 3.3rc1, LObeta 2, 3.4 dev - fail in starting saying they need a Java runtime environment. Both the 64 and 32 bit installations start but are not recognized by OOo.

To get around this I installed Java 1.5 using the 10.5 update 8 and following the instructions found here.

http://chxor.chxo.com/post/183013153/in ... ow-leopard

Note that I used the latest update so I had the latest security fixes.

I also had to manually add the 1.5 environment by pointing OOo to /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/

Note I have not tested the 3.2.1 build before OOO and GO-oo which is the default OOo release. Also NeoOffice 3.1.2 accepted the new Java.

Phil
Last edited by PGAGA on Mon Nov 01, 2010 8:28 am, edited 3 times in total.
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
elio
Posts: 1
Joined: Fri Oct 22, 2010 2:33 pm

Re: Snow Leopard OS X Java 1.6 update problem

Post by elio »

does (just) this work for someone else other than me?

Code: Select all

sudo ln -s /System/Library/Frameworks/JavaVM.framework/JavaVM /System/Library/Java/JavaVirtualMachines/JavaVM
;)
OOO 3.2.1 OS X 10.6.4
PGAGA
Volunteer
Posts: 481
Joined: Sun Dec 07, 2008 10:54 pm

Re: Snow Leopard OS X Java 1.6 update problem

Post by PGAGA »

Friday, October 22, 2010

Yes that fixed the issue for me.

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] Snow Leopard OS X Java 1.6 update problem

Post by PGAGA »

Friday, October 22, 2010

Spoke too soon. Then lickage enabled OOo to find the Java, but OOo fails to run on restart.

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
donohoa
Posts: 1
Joined: Sun Oct 24, 2010 12:04 am

Re: Snow Leopard OS X Java 1.6 update problem

Post by donohoa »

Similar problem was corrected by modifying /Users/YourUserName/Library/Application Support/OpenOffice.org/3/user/config/javasettings_MacOSX_x86.xml so that the <vendor> tag reads "<vendor>Apple Computers Inc.</vendor>" instead of "<vendor>Apple Inc.</vendor>". This may not be a permanent fix because this file is generated by OOo.
OOo 3.2.1 on Mac OS X Snow Leopard
PGAGA
Volunteer
Posts: 481
Joined: Sun Dec 07, 2008 10:54 pm

Re: Snow Leopard OS X Java 1.6 update problem

Post by PGAGA »

Saturday, October 23, 2010

I will test this later today. I should note that this is not a problem with NeoOffice which has already fixed the Java identification issue. The No javasetting_MacOSX_x86.xml uses Apple Inc for the identification.

A test of changing the identification does not work.

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
Sytze
Posts: 3
Joined: Tue Mar 09, 2010 2:43 pm

Re: Snow Leopard OS X Java 1.6 update problem

Post by Sytze »

As I never used 'terminal' before; could anyone write a step-by-step procedure how to to the "sudo" and the "vendor" modification?
Any help would be greatly appreciated !
Sytze
OOo 3.2 on Mac (Intel) with Snow Leopard and XP Home ed.
User avatar
peterdines
Posts: 42
Joined: Thu Nov 06, 2008 9:06 am

Re: Snow Leopard OS X Java 1.6 update problem

Post by peterdines »

PGAGA wrote:Thursday, October 21, 2010

With the latest OS X Java 1.6 update 3, OOo and derivatives after 3.1.x - 3.2, 3.2.1 (OOO and GO-oo), 3.3rc1, LObeta 2, 3.4 dev - fail in starting saying they need a Java runtime environment. Both the 64 and 32 bit installations start but are not recognized by OOo.

To get around this I installed Java 1.5 using the 10.5 update 8 and following the instructions found here.

http://chxor.chxo.com/post/183013153/in ... ow-leopard

Note that I used the latest update so I had the latest security fixes.

I also had to manually add the 1.5 environment by pointing OOo to /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/

Note I have not tested the 3.2.1 build before OOO and GO-oo which is the default OOo release. Also NeoOffice 3.1.2 accepted the new Java.

Phil
This actually works for me, even after quitting and restarting - it remembers the location of Java 1.5, and my Base wizards and reports run properly again.

Thanks! :bravo:
OOo 3.3 / Mysql / Postgres / OS X 10.6.5
PGAGA
Volunteer
Posts: 481
Joined: Sun Dec 07, 2008 10:54 pm

Re: Snow Leopard OS X Java 1.6 update problem

Post by PGAGA »

Tuesday, October 26, 2010
Sytze wrote:As I never used 'terminal' before; could anyone write a step-by-step procedure how to to the "sudo" and the "vendor" modification?
Any help would be greatly appreciated !
I am hesitant to provide instructions for sudo and editing the content of an app. When I tested both suggestions neither worked and I had to back away from both.

Instead I would suggest following the instructions for installing the latest Java 1.5 update. The OOo bug site is reporting the issue as fixed. This means that it could be a while before it makes it to an OOo release.

To begin exploring learning about terminal start by opening the terminal and typing:

java -version

To begin explore editing the contents of an app download and install muCommander. This is a java file manager which will let you look inside of apps in your Applications folder. Note it is safe to explore apps with it because you cannot make changes unless you run it using sudo.

When you run an app with sudo you run as administrator and are asked to give your password before you do anything.

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
shifty6
Posts: 1
Joined: Wed Oct 27, 2010 4:45 am

Re: Snow Leopard OS X Java 1.6 update problem

Post by shifty6 »

Postby donohoa » Sun Oct 24, 2010 12:18 am
Similar problem was corrected by modifying /Users/YourUserName/Library/Application Support/OpenOffice.org/3/user/config/javasettings_MacOSX_x86.xml so that the <vendor> tag reads "<vendor>Apple Computers Inc.</vendor>" instead of "<vendor>Apple Inc.</vendor>". This may not be a permanent fix because this file is generated by OOo.
This actually worked perfectly for me by finding the file and using TextEdit to alter and Save. Never would have thought it would be something so mundane.

Thanks!
OpenOffice 3.2.1 with MacOS 10.6 / OpenOffice 3.2 on Ubuntu 10.10
karlerikjessen
Posts: 2
Joined: Wed Oct 27, 2010 1:59 pm

Re: Snow Leopard OS X Java 1.6 update problem

Post by karlerikjessen »

Similar problem was corrected by modifying /Users/YourUserName/Library/Application Support/OpenOffice.org/3/user/config/javasettings_MacOSX_x86.xml so that the <vendor> tag reads "<vendor>Apple Computers Inc.</vendor>" instead of "<vendor>Apple Inc.</vendor>". This may not be a permanent fix because this file is generated by OOo.
This method solved the problem for me - as far as there is no complaints about invalid JVM on startup and Java seem to be working in OOo.

But in Preferences, OpenOffice.org,Java, there is no JVM to select ...

/Karl Erik Jessen
Copenhagen Denmark
OpenOffice 3.2 on MacOS 10.5
PGAGA
Volunteer
Posts: 481
Joined: Sun Dec 07, 2008 10:54 pm

Re: Snow Leopard OS X Java 1.6 update problem

Post by PGAGA »

Wednesday, October 27, 2010

Fix for the problem is now available for testing. Instructions and links here:

http://www.raphaelbircher.ch/computer_tagebuch.php

I have installed and tested on all my listed versions including LibreOffice beta and dev 3.4. I have the java dependent terminologie extension running and have experience no errors.

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
wdonne
Posts: 3
Joined: Thu Oct 28, 2010 9:17 am

Re: Snow Leopard OS X Java 1.6 update problem

Post by wdonne »

This works. Thank you Raphael.

Werner.
OpenOffice 3.2.1 on Mac OS X 10.6
lgusaas
Volunteer
Posts: 1580
Joined: Sun Mar 30, 2008 8:32 pm
Location: Moose Jaw, SK Canada

Re: [Solved] Snow Leopard OS X Java 1.6 update problem

Post by lgusaas »

The problem with Java is fixed in the latest Release Candidate — OpenOffice.org 3.3.0 RC 3.
http://download.openoffice.org/all_rc.html
Larry I. Gusaas
Moose Jaw, SK Canada
Website: http://larry-gusaas.com
"An artist is never ahead of his time but most people are far behind theirs." Edgard Varese
Apache OpenOffice 4.1.14 — MacBook Air (M1)—macOS Ver.13.5 Ventura
velocityg4
Posts: 1
Joined: Sat Nov 20, 2010 9:09 pm

Re: Snow Leopard OS X Java 1.6 update problem

Post by velocityg4 »

donohoa wrote:Similar problem was corrected by modifying /Users/YourUserName/Library/Application Support/OpenOffice.org/3/user/config/javasettings_MacOSX_x86.xml so that the <vendor> tag reads "<vendor>Apple Computers Inc.</vendor>" instead of "<vendor>Apple Inc.</vendor>". This may not be a permanent fix because this file is generated by OOo.
This worked great for me using Openoffice 3.2.1 on Mac OS 10.6.5.
Openoffice 3.2.1 on Mac OS 10.6.5
PGAGA
Volunteer
Posts: 481
Joined: Sun Dec 07, 2008 10:54 pm

Re: Snow Leopard OS X Java 1.6 update problem

Post by PGAGA »

Saturday, November 20, 2010
velocityg4 wrote:
donohoa wrote:Similar problem was corrected by modifying /Users/YourUserName/Library/Application Support/OpenOffice.org/3/user/config/javasettings_MacOSX_x86.xml so that the <vendor> tag reads "<vendor>Apple Computers Inc.</vendor>" instead of "<vendor>Apple Inc.</vendor>". This may not be a permanent fix because this file is generated by OOo.
This worked great for me using Openoffice 3.2.1 on Mac OS 10.6.5.
The problem with this work around is it only works if you are not doing anything which requires Java. I use the terminologie extension which starts on the opening of OOO.

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
Mike-D
Posts: 1
Joined: Tue Nov 23, 2010 3:37 pm

Re: [Solved] Snow Leopard OS X Java 1.6 update problem

Post by Mike-D »

The library fix did not seem to solve the problem in 3.3 RC6. Database created under OOo 3.0 crashes when edited in 3.3 after the Java update.

Mike D
OS-X 10.6.5 OOo 3.3 RC6
Post Reply