Ticket #6465 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Browse activity fails to load Java plugin

Reported by: Rmyers Owned by: cscott
Priority: normal Milestone:
Component: browse-activity Version:
Keywords: java relnote Cc: erikos
Action Needed: finalize Verified: no
Deployments affected: Blocked By:
Blocking:

Description

I know that Java is a restricted format, and not part of the XO core, but its use is ubiquitous.

On the 'Restricted Formats' page on the wiki, it is recommended to use jre 1.5.0_13.

With this installed, the Browse activity fails to load it. I get the following error in the Log Viewer activity with either jre or jdk 1.5.0_13:

LoadPlugin: failed to initialize shared library libXt.so [libXt.so: cannot open shared object file: No such file or directory]

LoadPlugin: failed to initialize shared library libXext.so [libXext.so: cannot open shared object file: No such file or directory]

LoadPlugin: failed to initialize shared library /usr/java/jre1.5.0_13/plugin/i386/ns7/libjavaplugin_oji.so undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE

What is interesting is that the Java install works as Java (as opposed to the plugin), and that even the plugin works with a 'normal' Firefox as opposed to the Browse activity. This is on a XO with Build 656.

Change History

follow-up: ↓ 2   Changed 6 years ago by ggoebel

I get the same problem with build 656 and update.1-693

in reply to: ↑ 1   Changed 6 years ago by ggoebel

  • keywords java plugin browser added

The warnings regarding libXt.so and libXext.so can be worked around by creating links: cd /usr/lib ln -s libXt.so.6 libXt.so ln -s libXext.so.6 libXext.so

Info on the symbol _ZTVN10cxxabiv121vmi_class_type_infoE can be found in the Linux Foundation LSB Database Navigator: https://www.linux-foundation.org/dbadmin/browse/int_single.php?cmd=list-by-name&Istd=87&Iname=_ZTVN10__cxxabiv121__vmi_class_type_infoE

Which shows that it is part of libstdc++.so.6... Which is where I stop, scratch my head and hope that someone knows what this means, because I'm all out of ideas.

I've tried installing compat-libstdc++-296 and compat-gcc-34-c++ to no avail...

  Changed 6 years ago by ggoebel

more googling...

The only cases I can see where people seem to have resolved this issue involved either recompiling the browser or installing a newer browser rpm:

http://www.spinics.net/linux/fedora/fedora-legacy/msg05089.html

I'm wondering if the cocktail of packages involved were all recompiled with the same compiler... if the problem would go away...

  Changed 6 years ago by ggoebel

  • cc erikos added

  Changed 6 years ago by gregorio

  • milestone deleted

Milestone Never Assigned deleted

  Changed 6 years ago by tomeu

  • next_action set to finalize

As Dennis suggested, "yum install java-1.6.0-openjdk-plugin" just works fine on the F-9 based joyrides. We should properly inform deployers that may have significant content requiring java.

  Changed 6 years ago by ggoebel

Cheers on getting the openjdk java plugin working in the Web activity.

Note however, that it does not work in the Firefox activity. I have know idea if Firefox3 is being targeted to eventually replace the default web activity. If it is... or even if it isn't, it'd be nice for the java plugin to work with it too.

  Changed 6 years ago by erikos

  • owner changed from erikos to cscott
  • component changed from browse-activity to flipsticks-activity

maybe scott knows how what is missing in the firefox activity - scott, you might want to add a trac component for the firefox activity

  Changed 6 years ago by erikos

  • component changed from flipsticks-activity to browse-activity

  Changed 6 years ago by cscott

ggobbel, please open a new bug targetted at firefox-activity for Java issues with the Firefox activity. I believe you should be able to use Firefox's own plugin finder to install Java using the Firefox activity, although the plugin is not persistent across invocations of the activity -- that's a bug which mstone and I will have fixed for 8.2.1 or 9.1.0.

  Changed 6 years ago by erikos

  • keywords relnote added; plugin browser removed
  • status changed from new to closed
  • resolution set to fixed

  Changed 6 years ago by Rmyers

Is this really 'fixed'? It's fixed for joyride, not the update.1 builds. How long until non-developers get a Fedora 9 based build?

Note: See TracTickets for help on using tickets.