On 11/07/2008 11:46 PM, john d. herron wrote:
> NoOp wrote:

>>>> What happens if you do this from a terminal?
>>>> /opt/openoffice.org3/program/soffice?
>>>>
>>>> Here's the output from terminal:
>>>>
>>>> .... (snip)
>>>> .... Failed to open device
>>>> [Java framework]sunjavaplugin.so could not load Java runtime library:
>>>> file:///usr/lib/../lib/gcj-4.1/libjvm.so.
>>>> ~$
>>>>   
>>
>> You have a bad install - or system issues - or both. You are likely to
>> also run into that error in your (U)2.4.1 install...
> ...my current 2.2.0 (not 2.4.1) actually works very well!
>>  ... if any indication of
>> the launchpad bug reports & others are any indication, see:
>>
>> https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/149489
>> [Stream of JRE errors when going to "Macros" tab in frame properties]
>> <http://www.mail-archive.com/[EMAIL PROTECTED]/msg13320.html>
>> [openoffice.org-core: sunjavaplugin.so attempts to use libgcj.so.6,
>> which doesn't exist]
>> http://user.services.openoffice.org/en/forum/viewtopic.php?f=16&t=10685
>> [Can't start oo3 on linux]
>> <http://www.google.com/search?complete=0&hl=en&q=openoffice+%2B%22sunjavaplugin.so+could+not+load+Java+runtime+library%22>
>>
>>   
> I have a valid sun jre already installed (/user/local/jre1.6.0_07) and 
> it works
> fine for my OOo_2.2.0, which, as i said, is also still very much alive.

Sorry, I missed that you are still using 7.04 - which by the way is no
longer supported, so you really should consider upgrading to 7.10 and
then to 8.04.

> Wouldn't it be possible to simply set a link to this jre in 
> /opt/openoffice.org3/program,
> or somehow making the newly installed ooo3.0 aware of the existing sun jre ?

The installed OOo 3.0 will pick you the existing jre via
Tools|Options|OpenOffice...|Java. However, your install location for 07
indicates to me that you did not install from Synaptic as: 1) jre for
feisty (7.04) is only at 02, and 2) system-wide jre should be located in
the /usr/lib/jvm

http://packages.ubuntu.com/search?searchon=names&keywords=sun-java6-jre

If you want to install 07 or 10, you should put it in /usr/lib/jvm and
then use a simple gui tool to set the links:

sudo apt-get galternatives

then

kdesu galternatives

(I think that's the equivalent of gksu)
See: http://packages.ubuntu.com/feisty/galternatives - it should work in
kubuntu also. You can then easily set your java links to the new
install. You can also try galternatives to modify to point to your
exisiting install location as well & if that doesn't work, then
reinstall in /usr/lib/jvm.

>> I recommend that you uninstall OOo 3.0 from Synaptic - search for 'ooo'
>> and mark all 3.0.0-9 files for _complete removal_, then apply. Hint: if
>> you click the 'S' ('S' Blank Package) column, Synaptic will sort the
>> packages by installed vs not installed - making it easier to see which
>> are installed.
> In synaptic, I now see thirtyfive installed ooo v. 3.0.0-9 packages. I 
> could remove them, of course ...
>> Then delete the /opt/openoffice.org, /opt/openoffice.org3 and
>> ~/.openoffice.org/3/user folders.
>>   
> ... and delete these as well, ...

Yes.

> 
>> Then from a terminal:
>>
>> sudo apt-get install --reinstall openoffice.org openoffice.org-java-common
>> sudo apt-get install --reinstall sun-java6-jre
>>
>> Those hopefully will fix your exisiting (U)OOo & java JRE.
>>   
> ... but won't these 'install' commands destroy my current 2.2.0 version 
> and its jre1.6.0_07...
> which right now are in perfect good shape?

The last one will only reinstall 02 as there is no 07 in 7.04. It won't
disturb your existing /user/local/jre1.6.0_07 but see above regarding
this jre install.

> 
> If I must sacrifice my 2.2.0 just to try out 3.0.0, I'd rather demur.

No. Your OOo 2.2.0 should be just fine. As a precaution, and you should
do this anyway, make a backup of your exisiting ~/.openoffice.org2
directory before you do anything.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to