Package: libswt-gtk-3.4-jni
Version: 3.4~rc3-1
Severity: normal

receive the following error.
/usr/lib/jvm/java-6-sun-1.6.0.06/bin/java: symbol lookup 
error: /usr/lib/jni/libswt-awt-gtk-3448.so: undefined symbol: JAWT_GetAWT
When run a snippet such as the following code from 
http://osdir.com/ml/ide.eclipse.platform.swt.devel/2005-10/msg00034.html

import org.eclipse.swt.*;
import org.eclipse.swt.awt.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.widgets.*;

public class SWTInAWT {
public static void main(String[] args) {
        java.awt.Frame frame = new java.awt.Frame("AWT Frame");
        java.awt.Button button = new java.awt.Button("AWT Button");
        frame.add(button, java.awt.BorderLayout.NORTH);
        java.awt.Canvas canvas = new java.awt.Canvas();
        frame.add(canvas, java.awt.BorderLayout.CENTER);

        frame.addNotify();
       
        Display display = new Display();
        Shell shell = SWT_AWT.new_Shell(display, canvas);
        shell.setLayout(new FillLayout());
        Button swtButton = new Button(shell, SWT.PUSH);
        swtButton.setText("SWT Button");
       
        frame.setBounds(20, 20, 300, 300);
        shell.layout();
        frame.setVisible(true);
       
        while (!shell.isDisposed()) {
                if (!display.readAndDispatch()) display.sleep();
        }
}
} 

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-9.slh.1-sidux-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libswt-gtk-3.4-jni depends on:
ii  libatk1.0-0                   1.22.0-1   The ATK accessibility toolkit
ii  libc6                         2.7-12     GNU C Library: Shared libraries
ii  libglib2.0-0                  2.16.3-2   The GLib library of C routines
ii  libgtk2.0-0                   2.12.10-2  The GTK+ graphical user interface 
ii  libxtst6                      2:1.0.3-1  X11 Testing -- Resource extension 

libswt-gtk-3.4-jni recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to