On 5/19/05, gerhard <[EMAIL PROTECTED]> wrote: > Hello Shaun, > > keep in mind, that I'm more a designer than a programmer. > > $ swingwtdemo > libgcj failure: Duplicate class registration: > java.awt.peer.ComponentPeer > Abgebrochen > But interesting too, is (Unfortunately , like in most cases, I post the > whole bunch, because I dont' know the important part):
Grumble. I know I've seen this error message before. For me the problem was the swingwtdemo binary depended on both libgcj.so.4 and libgcj.so.5, which won't work. It should only depend on libgcj.so.4 Try... $ ldd /usr/bin/swingwtdemo $ ldd /usr/lib/libswt.so.3 $ ldd /usr/lib/libswt.so.4 # apt-get remove libgcj5 $ swingwtdemo Try installing swingwtdemo from sid instead of hoary. Version 0.86.1-1 uses SWT 3.1, the same version as Azureus. swingwt-demo 0.85.1-1 uses SWT 3.0. > $ LANG=en sudo apt-get install swingwt-demo libgcj5-common > Reading package lists... Done > Building dependency tree... Done > The following extra packages will be installed: > libgcj-common libgcj4 libgcj5 libswingwt0 libswt-gtk3 libswt-gtk3-jni > The following NEW packages will be installed: > libgcj-common libgcj4 libgcj5 libgcj5-common libswingwt0 libswt-gtk3 > libswt-gtk3-jni swingwt-demo > >|^^^^^^^^^^^^ What's that? Wasn't that already installed? No. It was probably libswt-gtk-3.1-jni that was installed before. libswt-gtk3-jni is an older version of the same library. > Just an idea, because of the swt-gtk packages installed: > I tried to start azureus (not from within the /usr/local/Azureus, which > is not in the searchpath): > Wow, it start's ?'+)&%$ What's that???????? > $ which azureus > /usr/bin/azureus > > There *is* something wrong in the dependencies of the azureus package, > at least I think so!!!! > Because I *never* *forced* an apt-get!!!!!!!!!!!!! > Sorry about the rediculous exclamation marks, but this is .... > I'm confused... Sorry, I'm not sure what's changed and why it suddenly started working for you. If you think it's related to those packages you just installed, you could try removing them one by one and see if any of them cause azureus to stop working. > $ cat /usr/bin/azureus > #!/bin/sh > . /usr/share/java-config/libswt-3.1-java > if [ ! -d ~/.Azureus ]; then mkdir ~/.Azureus; fi > cd ~/.Azureus > exec java -Djava.library.path=/usr/local/jdk1.5.0_03/lib:/usr/lib \ > -classpath $JARS:/usr/share/java/Azureus2.jar \ > org.gudy.azureus2.ui.swt.Main "$@" Regarding /usr/local/jdk1.5.0_03/lib, are you using the Debian java-package Java package or one that's been installed by hand? Cheers, Shaun