← Back to team overview

openjdk team mailing list archive

[Bug 230062] Re: openjdk missing motif 2.1 library

 

we can't build using openmotif, because this is in the multiverse
section of the archive.


** Changed in: openjdk-6 (Ubuntu)
       Status: New => Won't Fix

-- 
openjdk missing motif 2.1 library
https://bugs.launchpad.net/bugs/230062
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in Source Package "openjdk-6" in Ubuntu: Won't Fix

Bug description:
Binary package hint: openjdk-6-jre

The following program will not run with the default install of OpenJDK.  (This is similar to issue #211105)  I believe there is a dependency missing from the openJDK installer.

import java.awt.Container;

import javax.swing.JFrame;
import javax.swing.JTextArea;

public class Test {
  public static void main(String args[]) {
    JFrame frame = new JFrame("Test");
    Container content = frame.getContentPane();

    JTextArea leftTextArea = new JTextArea();
    content.add(leftTextArea);

    frame.setSize(150, 150);
    frame.setVisible(true);
  }
}


Here are the details of my install:

lsb_release -rd
Description:	Ubuntu 8.04
Release:	8.04
===

apt-cache policy openjdk-6-jre
openjdk-6-jre:
  Installed: 6b09-0ubuntu2
  Candidate: 6b09-0ubuntu2
  Version table:
 *** 6b09-0ubuntu2 0
        500 http://ubuntu.media.mit.edu hardy/universe Packages
        100 /var/lib/dpkg/status
===
 java Test
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/motif21/libmawt.so
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1666)
	at java.lang.Runtime.load0(Runtime.java:787)
	at java.lang.System.load(System.java:1022)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1684)
	at java.lang.Runtime.loadLibrary0(Runtime.java:840)
	at java.lang.System.loadLibrary(System.java:1047)
	at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
	at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.loadLibraries(Toolkit.java:1610)
	at java.awt.Toolkit.<clinit>(Toolkit.java:1632)
	at java.awt.Component.<clinit>(Component.java:568)
	at Test.main(Test.java:8)
===

uname
Linux jkary-desktop 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 x86_64 GNU/Linux



References