Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - NeoOffice starts only within terminal
NeoOffice starts only within terminal
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
Thomasa
Guest





PostPosted: Tue Jan 24, 2006 2:28 pm    Post subject: NeoOffice starts only within terminal

Hi everybody!
I have a weird problem with NeoOffice. I cannot start it with a double click on it's application icon anymore. On a second account it works like a charm.
When I call soffice.bin - within NeoOffice's package - in a terminal instead it starts up flawlessly. I tried to remove the preferences, too. No luck.

I have to say that my current JDK is set to 1.5. But on the other hand this is a system wide setting which should affect the second account, too. So this shouldn't be the problem.

My system is Mac OSX 10.4.4 with Java 1.3.1, 1.4.2 and 1.5.0 installed.

I have compared the javarc in ~/Library/Preferences/NeoOffice-1.x/user/config with my second (working) account's javarc. They are different. But replacing my javarc with that one didn't help.

Here the javarc of the working account:
Code:
 
[Java]
RuntimeLib=/System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
com.apple.hwaccel=false
com.apple.hwaccellist=
-Xbootclasspath/a:/Applications/NeoOfficeJ.app/Contents/MacOS/classes/vcl.jar
SystemClasspath=/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./classes.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./common.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./crimson.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./docbook.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./htmlsoff.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./java_uno.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./java_uno_accessbridge.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./juh.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./jurt.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./jut.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./report.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./ridl.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./sandbox.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./unoil.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./vcl.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./xalan.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./XFlatXml.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./xmerge.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./XMergeBridge.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./xml-apis.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./XSLTFilter.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./XSLTValidate.jar:
/Applications/NeoOfficeJ.app/Contents/MacOS/classes/./xt.jar
Java=1
JavaScript=1
Applets=1
-Xrs
-Xmx512m


Here the javarc in my account (not working Sad ):
Code:

[Java]
RuntimeLib=/System/Library/Frameworks/JavaVM.framework/JavaVM
java.ext.dirs=/System/Library/Frameworks/JavaVM.framework/Home/lib/ext
java.endorsed.dirs=
java.library.path=/usr/lib/java:/Applications/NeoOffice.app/Contents/MacOS
SystemClasspath=/Applications/NeoOffice.app/Contents/MacOS/classes/./classes.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./common.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./docbook.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./htmlsoff.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./java_uno.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./java_uno_accessbridge.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./juh.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./jurt.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./jut.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./report.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./ridl.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./sandbox.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./unoil.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./vcl.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./xalan.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./XFlatXml.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./xmerge.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./XMergeBridge.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./xml-apis.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./XSLTFilter.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./XSLTValidate.jar:
/Applications/NeoOffice.app/Contents/MacOS/classes/./xt.jar
Java=1
JavaScript=1
Applets=1
-Xrs
-Xmx256m
-XX:+UseParallelGC


Maybe someone can find the problematic setting. I think my account has some weird setting which rattens NeoOffice's startup. But I've couldn't track it down.

Hope to get some suggestions how to fix my problem.

Best regards,
Thomasa
Back to top
Thomasa
Guest





PostPosted: Tue Jan 24, 2006 2:35 pm    Post subject: Console output

Sorry, I've forgotten to say that the console just prints Application error (NeoOffice 1.2beta) when I try to start NeoOffice with a double click. With NeoOffice 1.1 I got image not found.

Currently I have NeoOffice 1.2Beta + Patch 5 installed.

Best regards,
Thomasa
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Jan 24, 2006 3:27 pm    Post subject:

The javarc on your broken installation does not appear to running the latest Patch-5 code. If it did, you would see the following line near the top of the file:

Code:
RuntimeLib=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libjvm.dylib


I suspect that the javarc file is not getting updated because your Java 1.4.2 installation is corrupted. To verify if this is true, can you execute the following two commands in a terminal and post the output?:

Code:
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Commands/java -version

Code:
ls -l /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libjvm.dylib


Patrick
Back to top
jjmckenzie51
The Anomaly


Joined: Apr 01, 2005
Posts: 1055
Location: Southeastern Arizona

PostPosted: Wed Jan 25, 2006 10:17 am    Post subject:

pluby wrote:
The javarc on your broken installation does not appear to running the latest Patch-5 code. If it did, you would see the following line near the top of the file:

Code:
RuntimeLib=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libjvm.dylib


I suspect that the javarc file is not getting updated because your Java 1.4.2 installation is corrupted. To verify if this is true, can you execute the following two commands in a terminal and post the output?:

Code:
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Commands/java -version

Code:
ls -l /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libjvm.dylib


This definately sounds like an improper Java install. These two commands should result in:

Java 1.4.2_09.....

BTW, there should be a _10 release.....

and the libjvm.dylib file should exist.

James
Back to top
Thomasa
Guest





PostPosted: Wed Jan 25, 2006 12:28 pm    Post subject: Thx! NeoOffice is working again.

Superb! Thx! Thx! Thx!

I've tested my Java 1.4.2 installation as you described it. It's ok. So I've updated the javarc directly. Et voilà! Fixing the RuntimeLib setting solves my problem with NeoOffice.

Why NeoOffice is generating that broken javarc I don't know. There must something wrong with my Java environment - the heck with it! Most importantly NeoOffice is working again. Now I can look for that problem without ruffle but that's not a problem which I want to bother you with.

Thank you a lot!

Best regards,
Thomasa
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Jan 25, 2006 12:40 pm    Post subject: Re: Thx! NeoOffice is working again.

Thomasa wrote:
Why NeoOffice is generating that broken javarc I don't know. There must something wrong with my Java environment - the heck with it! Most importantly NeoOffice is working again. Now I can look for that problem without ruffle but that's not a problem which I want to bother you with.


I suspect that the script that updates this file is failing. Can you execute the following command in a terminal and post the output?:

Code:
sh -x /Applications/NeoOffice.app/Contents/MacOS/setup


Patrick
Back to top
Thomasa
Guest





PostPosted: Wed Jan 25, 2006 3:30 pm    Post subject: Setup script is ok.

Shame on me! Embarassed

You've been right. I installed patch 5 but I forgot to clean the preferences (I did it several times after the problem occurred under NeoOffice 1.1 and after upgrading from 1.1 to 1.2b, but not after applying patch 5 Embarassed ). After I removed the preferences and started up NeoOffice 1.2b5 it has written the correct RuntimeLib into the javarc. Now it starts up smoothly (+fast Smile ).
I thought that I tried all different combinations.

Sorry and really really thank you for your help,
Thomasa

PS: Ok, my second account has worked out-of-the-box with NeoOffice 1.1, 1.2b and 1.2b5. So there must be something different between the Java environments of the two accounts. But hey! NeoOffice 1.2b5 is working - that's all what counts.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Jan 25, 2006 3:58 pm    Post subject: Re: Setup script is ok.

Thomasa wrote:
Shame on me! Embarassed

You've been right. I installed patch 5 but I forgot to clean the preferences (I did it several times after the problem occurred under NeoOffice 1.1 and after upgrading from 1.1 to 1.2b, but not after applying patch 5 Embarassed ). After I removed the preferences and started up NeoOffice 1.2b5 it has written the correct RuntimeLib into the javarc. Now it starts up smoothly (+fast Smile ).
I thought that I tried all different combinations.

Sorry and really really thank you for your help,
Thomasa


There's nothing to be sorry about as NeoOffice is supposed to overwrite the javarc file every time is starts. Maybe there was some permissions problem with the file? Who knows. But if it happens again, please run the "sh -x ..." command the I listed and file a bug with the output as you probably stumbled upon a rare bug but a bug nevertheless.

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.