hardy ooo missing jre - system crashed

Bug #193139 reported by turox
14
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: openoffice.org

DISTRIB_RELEASE=8.04
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

openoffice.org 1:2.3.1-3ubunt
sun-java6-bin 6-04-2

Ooo Word Processor get a missing jre message.
To reproduce:
Open Ooo Word Processor.
Insert any picture.
Double klick the picture and the picture menu pops up.
Go to the option macro, so you will get the message for missing jre stuff.
I`m unable to close this pop up warning message - just have to kill the soffice.bin
I tried to unable jre in ooo, but then i get a jre disable message and i`m not able to quit this with no or cancel, if i say yes, i get the other uncloseable window from above.
Sometimes, I don't want try it every time, if I don`t kill the process very quick within 2 minutes, hardy crashes :-/

turox (tuxturox)
description: updated
Revision history for this message
Caroline Ford (secretlondon) wrote :

new ->confirmed

I had to kill openoffice to get rid of the dialog box. It kept respawning whenever I pressed okay.

Changed in openoffice.org:
status: New → Confirmed
Revision history for this message
Caroline Ford (secretlondon) wrote :
Revision history for this message
Chris Cheney (ccheney) wrote :

Turox,

So you are saying your whole system crashed, or just OpenOffice?

Thanks,

Chris Cheney

Changed in openoffice.org:
assignee: nobody → ccheney
status: Confirmed → Incomplete
Revision history for this message
turox (tuxturox) wrote :

Hi Chris,

the hole system crashed. After couple of seconds, the warning message pops up, Ubuntu gets unusable and I have to put the power supply button to get a reboot. The mouse are movable, online stream process works but thats it. Can`t press STRG-ALT+F1 or Strg-Alt+Backspace or any other buttons to rescue the system.

Regards,
turox

Revision history for this message
Chris Cheney (ccheney) wrote :

So far I have been unable to reproduce this on Ubuntu Hardy. Do you have sun-java6-jre installed as well or just the sun-java6-bin package installed?

Thanks,

Chris Cheney

Revision history for this message
turox (tuxturox) wrote :

Both of them are installed.
If I go to Ooo - Tools/Options/Java it says that "Java JRE already installed" but in the list below shows me nothing.
I also tried to reinstall the sun-java6-jre package with no change.
Maybe someone can confirm this, for me it is not very important.

By starting ooo writer over the Terminal I get this:
turox@tserver:~$ ooffice -writer
javaldx: Could not find a Java Runtime Environment!

I also did:
cd /usr/bin
sudo rm java
sudo ln -s /etc/alternatives/java java

Nothing helps :-/

Revision history for this message
Chris Cheney (ccheney) wrote :

Does installing the package 'openoffice.org' meta-package help? You are probably missing at minimum the 'openoffice.org-java-common' package and maybe others.

Revision history for this message
turox (tuxturox) wrote :

Now, I get it to work by installing the packet icedtea-java7-jre ^^

Chris Cheney (ccheney)
Changed in openoffice.org:
assignee: ccheney → nobody
status: Incomplete → Fix Released
Revision history for this message
Bill_or_Jim (cowboycat) wrote :

I get the OOO Picture dialog hang with Edubuntu 7.10, I hvave Sun Jave 6 jre 6-03-0ubuntu2 (gutsy) installed.

Not problem with the system after I kill OOO.

Revision history for this message
Tobias Krais (tux-spam) wrote : Re: hardy ooo missing jre - No Java functionality in OOo

Hi,

I have a problem on Ubuntu Hardy as turox described. When start openoffice I get the messagen "javaldx: Could not find a Java Runtime Environment!". There are no JREs listed in the options dialog. Here my relevant installed packages:
-----%<-----
tobias@schleppi226:~$ dpkg -l | grep icedtea
ii icedtea-java7-bin 7~b24-1.5+20080118-1 Java runtime based on OpenJDK
ii icedtea-java7-jre 7~b24-1.5+20080118-1 Java runtime based on OpenJDK
ii icedtea-java7-plugin 7~b24-1.5+20080118-1 Java plugin based on OpenJDK and gcjwebplugi
tobias@schleppi226:~$ dpkg -l | grep java6
ii sun-java6-bin 6-04-2 Sun Java(TM) Runtime Environment (JRE) 6 (ar
ii sun-java6-jdk 6-04-2 Sun Java(TM) Development Kit (JDK) 6
ii sun-java6-jre 6-04-2 Sun Java(TM) Runtime Environment (JRE) 6 (ar
tobias@schleppi226:~$ dpkg -l | grep openoffice.org-java
ii openoffice.org-java-common 1:2.4.0~rc2-1ubuntu3 OpenOffice.org office suite Java support arc
-----%<-----
Even editing the ~/.openoffice.org2/user/config/javasettings_Linux_X86_64.xml manually did not solve the problem, but changed it: after pointing on the correct Icedtea path I got the message "javaldx failed. User must select a JRE from options dialog!" when starting OOo.

Please fix this soon! For me, its a severe bug, a release blocker!

Greetings, Tobias

Revision history for this message
Tobias Krais (tux-spam) wrote :

I forgot: even adding a JRE in the options dialog failes. Even pointing on the correct path failes to add the JRE.

Revision history for this message
Tobias Krais (tux-spam) wrote :

One more: installing openoffice.org-gcj adds java functionality. But adding other JREs does still not work.

Revision history for this message
turox (tuxturox) wrote :

Hi Tobias,

do the same I did. Remove all Sun JRE stuff and install the icedtea-java7-jre and it should be work fine.

Regards,
turox

Revision history for this message
Tobias Krais (tux-spam) wrote :

Hi turox,

I removed all other JREs and only icedtea is left. But I still cannot add Icedtea to my OOo installtation. I use Hardy AMD64. Thanks for the hint, but it is no workaround for me.

Greetings, Tobias

Revision history for this message
naught101 (naught101) wrote :

http://ubuntuforums.org/showpost.php?p=4471619&postcount=17

This fixed the problem for me. Preference file doesn't update when upgrading. After deleting $HOME/.openoffice.org2/user/config/javasettings_Linux_x86.xml OO.org correctly re-creates it and works with any JRE.

Revision history for this message
Tobias Krais (tux-spam) wrote :

Thanks naught. After deleting my the corresponding file the settings are recreated correctly. But I still cannot add Icedtea... But that does not matter to me. JRE 1.6 is OK. Thanks for solving!

Revision history for this message
Bill_or_Jim (cowboycat) wrote : Re: [Bug 193139] Re: hardy ooo missing jre - system crashed

Worked for me as well. Thanks.

On Thu, Mar 13, 2008 at 6:51 AM, naught101 <email address hidden> wrote:

> http://ubuntuforums.org/showpost.php?p=4471619&postcount=17
>
> This fixed the problem for me. Preference file doesn't update when
> upgrading. After deleting
> $HOME/.openoffice.org2/user/config/javasettings_Linux_x86.xml OO.org
> correctly re-creates it and works with any JRE.
>
> --
> hardy ooo missing jre - system crashed
> https://bugs.launchpad.net/bugs/193139
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Vadim Hesse (fractalization-drago) wrote :

Thanks

Revision history for this message
Gustavo Rahal (gustavo-grahal) wrote :

Had the same problem, could not save documents as DocBook because java is required. Trying to set sun java6 in Options did not work. Deleting $HOME/.openoffice.org2/user/config/javasettings_Linux_x86.xml did the trick, working fine now.

Revision history for this message
Chris Cheney (ccheney) wrote :

Install openoffice.org-java-common... this should fix the problem.

Revision history for this message
Gustavo Rahal (gustavo-grahal) wrote :
  • unnamed Edit (742 bytes, text/html; charset=ISO-8859-1)

FYI, it was already installed, version 2.4.0-3ubuntu1.

On Wed, Apr 9, 2008 at 12:58 AM, Chris Cheney <email address hidden> wrote:

> Install openoffice.org-java-common... this should fix the problem.
>
> --
> hardy ooo missing jre - system crashed
> https://bugs.launchpad.net/bugs/193139
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Louis-Dominique Dubeau (ldd) wrote :

I've run into the same problem. The package openoffice.org-java-common was installed (2.4.0-3ubuntu5) and yet the problem still occurred. I had to delete $HOME/.openoffice.org2/user/config/javasettings_Linux_x86.xml to get things back to normal.

Things coming to mind:

1. Probably OO should be configurable to use the default system JRE. That way if people keep OO to the default and install and remove system JREs, they won't run into this problem.

2. Some of us used IcedTea on Gutsy. In Hardy IcedTea seems to have been replaced by OpenJDK. The paths are different.

This has not caused any other instability on my system. Only OO was affected.

Revision history for this message
Jason Erbskorn (mrguy) wrote :

I too had this problem with today's daily build (4-17-08). First of all, why is openoffice.org-java-common not installed with ubunu-restricted-extras? It seems to me that if you are going to enable java, you might as well do it system-wide, I.E. important programs that can harness that functionality. I was able to fix the openoffice java problem by installing the aforementioned package, deleting the javasettings_Linux_x86.xml config file, after I had installed the restricted extras. I was able to get it to work with Sun Java, which is also mysteriously not a part of the restricted extras package as well.

Revision history for this message
pveith (patrick-veith) wrote :

Updated my gutsy after release hardy and had the same problem discribed here. rm the config file did the trick. Just as an after though decided to post it here, so it can get fixed for others in the package.

Revision history for this message
Pander (pander) wrote :

On Hardy openoffice.org-core has /usr/lib/openoffice/program/javaldx but it does not return any JRE.

However it is possible to install ure and replace /usr/lib/openoffice/program/javaldx with a link to /usr/lib/ure/bin/javaldx as a workaround.

Revision history for this message
Yannick Warnier (ywarnier) wrote :

Same problem fixed by deleting $HOME/.openoffice.org2/user/config/javasettings_Linux_x86.xml as well. Ubuntu HH, MacBook Pro II. Thanks for the hint.

Revision history for this message
Սահակ (petrosyan) wrote :

this bug is still present on a freshly installed Ubuntu 8.04 with openjdk.

Changed in openoffice.org:
status: Fix Released → Confirmed
Revision history for this message
exactt (giesbert) wrote :

here on latest hardy amd64. openoffice configured to use openjdk.

canNOT reproduce doing:

Open Ooo Word Processor.
Insert any picture.
Double klick the picture and the picture menu pops up.
Go to the option macro, so you will get the message for missing jre stuff.

what steps are needed to reproduce the bug?

Revision history for this message
Chris Cheney (ccheney) wrote :

Do you still have this problem with hardy-proposed 1:2.4.1~rc2-1ubuntu1? I think that a patch that was included in this version will correct the problem.

Thanks,

Chris Cheney

Changed in openoffice.org:
status: Confirmed → Incomplete
Revision history for this message
Pander (pander) wrote :

Current situation:

openoffice.org-core 1:2.4.1-1ubuntu1
$ /usr/lib/openoffice/program/javaldx
javaldx: Could not find a Java Runtime Environment!

ure 1.4+OOo2.4.1-1ubuntu1
$ /usr/lib/ure/bin/javaldx
/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/i386/native_threads:/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/i386

Changed in openoffice.org:
status: Incomplete → In Progress
Chris Cheney (ccheney)
Changed in openoffice.org:
status: In Progress → Fix Released
Revision history for this message
Herbert Thielen (thielen) wrote :

I can confirm the problem with a fresh installation of kubuntu 8.04.1 on amd64, with all updates installed afterwards, openoffice packages have now version 1:2.4.1-1ubuntu2

Installation of openoffice.org-java-common didn't help, but removing $HOME/.openoffice.org2/user/config/javasettings_Linux_x86.xml as mentioned before did the job.

Revision history for this message
vodhner (vodhner) wrote :

Thanks for the tip about removing javasettings_Linux_x86.xml. Upon restart it rebuilt that file, and the persistent "Please install a JRE" dialog box. By the way, when I was getting the dialog box, it *did* go away for me after I pressed the OK button and the [X] button (a few of one, a few of the other, etc.) a dozen times or so.

The old javasettings file had <location>file:///usr/lib/../lib</location> and <version>1.4.2</version>.

The new one, rebuilt by OpenOffice, points to my Sun java 5 installation:
  <location>file:///usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre</location> and <version>1.5.0_15</version>

I think I've had the problem with the JRE from my first Ubuntu installation. I am now upgraded to Hardy and at first I was going to try installing openoffice.org-java-common. Fortunately, Synaptic didn't show this as available. This caused me to search and I found this thread, so I did not incur the clutter of the un-needed package. Thanks for the clean solution!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.