Libreoffice 'JRE is defective' message

I have the Sun JRE installed using the opensuse packages:

java-1_6_0-sun-1.6.0.u24-1.2.1.x86_64
java-1_6_0-sun-plugin-1.6.0.u24-1.2.1.x86_64

however every time I start Libreoffice I get an error message: http://img156.imageshack.us/img156/258/omsa1.png

If I go into Tools->OPtions->Java I can see the Sun JRE is installed and ‘Use a Java runtime environment’ is ticked.

Anyone know how to stop this error message?

(opensuse 11.4 x86_64)

On 03/28/2011 12:06 PM, tk83 wrote:
>
> If I go into Tools->OPtions->Java I can see the Sun JRE is installed
> and ‘Use a Java runtime environment’ is ticked.

mine is ticked also, but just under the tick says: “Java runtime
environments (JRE) already installed:” and the window below lists “Sun
Microsystems Inc. 1.6.0_24”

> Anyone know how to stop this error message?

how did you install LibreOffice and Sun’s JRE?

i ask because i installed both using YaST and get no warning…so i
guess maybe you installed one or the other from source (?) or rpm
fetched from some spot other than
http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_11.x/
(or whichever it is that usually supplies Sun Java)…

and in doing so the needed link between the two was not made…

i do not know the easiest way to link them, perhaps another here
does…if not, it might work to use YaST to install the one(s)from
the repos which were previously installed from another source…

if install from another source was used…if not, i guess you
either have a permissions problem or have found a bug that should be
reported…


CAVEAT: http://is.gd/bpoMD
Tried LibreOffice? Do that and help at http://is.gd/dZ9j2W
[NNTP via openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8]

I have this same problem. My copy of Libreoffice was installed when I installed 11.4. My java (java-1_6_0-sun - Java™ 6 Runtime Environment) through yast.

Mine says the same and is also ticked

how did you install LibreOffice and Sun’s JRE?

Libreoffice was installed by the installer when I installed 11.4. I installed Sun’s JRE through yast/zypper with the follow commands:

sudo zypper in java-sun
sudo zypper rm java-1_6_0-openjdk-plugin java-1_6_0-openjdk
sudo zypper in java-1_6_0-sun-plugin

The only repositories I have enabled are the standard ones (oss, non-oss, updates) and packman.

then it looks like you two need to file a bug report because
Java™ SE Runtime Environment (build 1.6.0_24-b07) and
LibreOffice 3.3.2 OOO330m19 (Build:202) tag libreoffice-3.3.2.2

gives no problem here on fully updated openSUSE 11.3 + KDE4.5.5

as far as i can tell you two are on 11.4, at least one on 64 bit and
at least one using KDE4.6–other similarities and opaque here, but
should not be in your bug report, begin here please:
http://en.opensuse.org/Submitting_Bug_Reports

and, after submitted please come back here and paste in a link to the
bug (so others that follow in via Google/etc find the path to add
their info to the bug report…

note: the first step in submitting a bug is looking to see if the bug
is already reported…don’t skip that step, instead post your new info
to the existing report…the more who post the more is known and the
faster the fix/workaround is out…


CAVEAT: http://is.gd/bpoMD
Tried LibreOffice? Do that and help at http://is.gd/dZ9j2W
[NNTP via openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8]

I mentioned I was using 11.4, anyway the bug report is now filed: https://bugzilla.novell.com/show_bug.cgi?id=683054

Dwarfer99 can you add a comment to this - bug reports with only one person often get ignored by the Opensuse developers unfortunately :frowning:

On 28/03/11 13:06, tk83 wrote:
>
> DenverD;2313494 Wrote:
>>
>>
>> mine is ticked also, but just under the tick says: “Java runtime
>> environments (JRE) already installed:” and the window below lists “Sun
>> Microsystems Inc. 1.6.0_24”
>>
>>
> Mine says the same and is also ticked
>
>>
>> how did you install LibreOffice and Sun’s JRE?
>>
>
> Libreoffice was installed by the installer when I installed 11.4. I
> installed Sun’s JRE through yast/zypper with the follow commands:
> Code:
> --------------------
> sudo zypper in java-sun
> sudo zypper rm java-1_6_0-openjdk-plugin java-1_6_0-openjdk
> sudo zypper in java-1_6_0-sun-plugin
> --------------------
>
>
> The only repositories I have enabled are the standard ones (oss,
> non-oss, updates) and packman.
>
>

I got rid of the problem by (effectively) doing the opposite to you -
replacing the SUN java with openjdk - though LibreOffice still reports
Sun Microsystems in the JAVA box :slight_smile:


PeeGee

MSI m/b 870-C45, AMD Athlon II X3 445, 4GB, openSUSE 11.3/11.2 x86_64
dual boot + XP Home in VBox
Asus m/b M2NPV-VM, AMD 64X2 3800+, 2GB, openSUSE 11.3 x86_64/XP Home
dual boot
Acer Aspire 1350, AMD MP2400+, 768MB, openSUSE 11.4/XP Home dual boot
Asus eeePC 4G (701), Celeron M353, 2GB, openSUSE 11.3 on SSD

Under Java Options → Use a Java runtime environment

You must click on the circle to the left of Sun Microsystems Inc. so that a black dot appears in the circle.

Restart LibreOffice and the message disappears. However, this is a bug.

Remember to have fun!

Romanator

On 03/28/2011 03:06 PM, tk83 wrote:
>
> I mentioned I was using 11.4, anyway the bug report is now filed:

since all was ok here (on 11.3) i had hoped to find both of you on
11.4, but i looked and i didn’t see a version number on one…BUT, now
i went back and looked, and in fact BOTH of you said 11.4 (i have no
idea which it was that i didn’t see the version listed on when i
looked the first time–but, sorry to both!! my mistake)…


CAVEAT: http://is.gd/bpoMD
Tried LibreOffice? Do that and help at http://is.gd/dZ9j2W
[NNTP via openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8]

Romanator,

Romanator,
Thanks for the tip. I had looked at the Java Options box, but overlooked the dot needing to be clicked. On my screen, only about 3/4 of the dot shows; the rest is covered by a blue bar.
Once I clicked the dot and restarted LibreOffice, no more error message.
Regards,
Howard

Glad to help.

Found that simply removing the ~/.oo3 and ~/.libreoffice directories solved this problem. Must’ve been some old **** in the ~/.oo3 or something.

Thank you romanator and crmrhm I’m still using OpesSuse 11.3 but a click on the 3/4 dot solved the problem.
regards.