j2re1.4 has a missing dependency: libxp6

Bug #2183 reported by Mary Gardiner
4
Affects Status Importance Assigned to Milestone
j2se1.4-i586 (Ubuntu)
Fix Released
Medium
MOTU

Bug Description

If you try and open a Java using webpage using epiphany on Breezy, it fails with an error like the following:

Java process: caught exception from sun.plugin.navig.motif.Plugin.start
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/j2se/1.4/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.loadLibraries(Toolkit.java:1437)
        at java.awt.Toolkit.<clinit>(Toolkit.java:1458)
        at java.awt.Color.<clinit>(Color.java:250)
        at sun.plugin.navig.motif.Plugin.start(Plugin.java:71)

(you won't see this unless running your browser from the command line).

Installing the package libxp6, which provides /usr/lib/libXp.so.6 allows it to run. This should be a dependency of j2re1.4

Revision history for this message
Ante Karamatić (ivoks) wrote :

OK. This will be fixed today.

Ante Karamatić (ivoks)
Changed in j2se1.4-i586:
assignee: nobody → motu
status: New → Accepted
Ante Karamatić (ivoks)
Changed in j2se1.4-i586:
status: Accepted → PendingUpload
Revision history for this message
Mary Gardiner (puzzlement) wrote :

j2re1.4 1.4.2.02-ubuntu1 does not fix this bug. If I run epiphany from the command line (without libxp6 installed), and then visit http://www.anfyteam.com/, it crashes immediately with this error:

$ epiphany
plugin_get_value 1
plugin_get_value 2
Java process: caught exception from sun.plugin.navig.motif.Plugin.start
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/j2se/1.4/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.loadLibraries(Toolkit.java:1437)
        at java.awt.Toolkit.<clinit>(Toolkit.java:1458)
        at java.awt.Color.<clinit>(Color.java:250)
        at sun.plugin.navig.motif.Plugin.start(Plugin.java:71)
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable

libxp6 still needs to be installed to solve this, and it still isn't a dependency:

$ apt-cache show j2re1.4
Package: j2re1.4
Priority: optional
Section: multiverse/devel
Installed-Size: 58892
Maintainer: Blackdown Packagers <email address hidden>
Architecture: i386
Source: j2se1.4-i586
Version: 1.4.2.02-1ubuntu1
Replaces: j2sdk1.4 (<< 1.4.2.01-1), j2se-common
Provides: java-virtual-machine, java2-runtime
Depends: java-common, locales, libc6 (>= 2.3.4-1), debconf (>= 0.5) | debconf-2.0
Pre-Depends: debconf (>= 0.5.0)
Recommends: gsfonts-x11, libc6 (>= 2.3.4-1), libx11-6, libxext6, libxi6
Suggests: mozilla-browser (>= 0.9.1) | mozilla-firefox | galeon, ttf-kochi-gothic, ttf-kochi-mincho
Conflicts: j2sdk1.4 (<< 1.4.2.01-1), j2se-common

Changed in j2se1.4-i586:
status: PendingUpload → New
Ante Karamatić (ivoks)
Changed in j2se1.4-i586:
status: New → PendingUpload
Ante Karamatić (ivoks)
Changed in j2se1.4-i586:
status: PendingUpload → Fixed
Ante Karamatić (ivoks)
Changed in j2se1.4-i586:
status: Fixed → Accepted
Revision history for this message
Frank B (frank-fryseren) wrote :

I installed the j2re1,4 from Multiverse and add the libxp6.
When I browse around using Firefox, some applets works, but some do not. This page ( https://www.netbank.nordea.dk/netbank/index.jsp ) crashed Firefox with the message:

Gdk-WARNING **: cannot set locale modifiers
current locale is not supported in X11, locale is set to C*** glibc detected *** free(): invalid next size (fast): 0x08a6ec50 ***

Normely this site works fine on Linux with Java installed.

Ante Karamatić (ivoks)
Changed in j2se1.4-i586:
status: Accepted → Fixed
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.