Package: swingwt-demo
Version: 0.87-1
Severity: important

Hello,

I tried to compile the SwingWT demo using the Makefile coming with the
swingt-demo package. I have both gcj-3.3 and gcj-4.0. Using gcj-3.3,
when I try to execute HelloSwingWT, I got a duplicate class error. So I
install gcj-4.0, but I have now the following error at execution:

Exception in thread "main" java.lang.LinkageError: unexpected exception during 
linking: swingwtx.swing.JFrame
   at java.lang.VMClassLoader.transformException(java.lang.Class, 
java.lang.Throwable) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) 
(/usr/lib/libgcj.so.6.0.0)
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
   at HelloSwingWT.main(java.lang.String[]) (Unknown Source)
   at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.lang.NullPointerException
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) 
(/usr/lib/libgcj.so.6.0.0)
   ...5 more

I have the following warnings at compilation:

gcj-4.0 `pkg-config --cflags swingwt` 
-Dgnu.gcj.runtime.VMClassLoader.library_control=cache `pkg-config --libs 
swingwt` -Djava.library.path=/usr/lib --main=HelloSwingWT HelloSwingWT.java -o 
HelloSwingWT
/usr/bin/ld: warning: libswt.so.4, needed by 
/usr/lib/gcc/i486-linux-gnu/4.0.1/../../../../lib/libswingwt.so, may conflict 
with libswt.so.3
/usr/bin/ld: warning: libswt-pi.so.4, needed by 
/usr/lib/gcc/i486-linux-gnu/4.0.1/../../../../lib/libswingwt.so, may conflict 
with libswt-pi.so.3
/usr/bin/ld: warning: libgcj.so.4, needed by 
/usr/lib/gcc/i486-linux-gnu/4.0.1/../../../../lib/libswingwt.so, may conflict 
with libgcj.so.6
Notice that I can interpret the HelloSwingWT.class file both with the
SableVM and "official"" Sun JVM.

Thank you in advance,

Christophe

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.7.050803
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages swingwt-demo depends on:
ii  libswingwt0                   0.87-1     Swing/AWT API over SWT library

swingwt-demo 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