Bug#309072: Where/how to get help/file a bug? azureus won't start with jdk-1_5_0_03-linux-amd64.bin packaged by java-package 0.24 was: Bug#309072

gerhard ggrubbish@web.de
Thu May 19 22:18:03 2005


Am Donnerstag 19 Mai 2005 22:24 schrieb Shaun Jackman:
> On 5/19/05, gerhard <ggrubbish@web.de> wrote:
> > But it works out of the box with my normal debian java-package
> > build sun-java installation! Yeah! Finally! :-).
>
> Congrats!
>
> > So I assume, that there are some (maybe swt gtk java) classes in
> > the debian system, that either doesn't work with azureus or that
> > are not in the searchpath. Maybe the azureus script of the deb is
> > broken.
>
> It could be that libswt-gtk-3.1-jni is broken for AMD64. You could
> help test this theory by running the utility swingwtdemo in the
> package swingwt-demo. If it crashes too, that would pretty much
> confirm it. Good guess!
>
> Cheers,
> Shaun

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):
$ 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?
0 upgraded, 8 newly installed, 0 to remove and 5 not upgraded.
Need to get 8002kB/10.9MB of archives.
After unpacking 44.7MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  libgcj5 libgcj5-common libswt-gtk3-jni libswt-gtk3 libswingwt0 
swingwt-demo
Install these packages without verification [y/N]? y
Media change: please insert the disc labeled
 'Ubuntu 5.04 _Hoary Hedgehog_ - Release amd64 (20050407)'
in the drive '/cdrom/' and press enter

Get:1 http://archive.ubuntu.com hoary/universe libgcj5 3.4.3-9ubuntu4 
[3916kB]
Get:2 http://archive.ubuntu.com hoary/universe libgcj5-common 
3.4.3-9ubuntu4 [2018kB]
Get:3 http://archive.ubuntu.com hoary/universe libswt-gtk3-jni 3.0-6 
[152kB]
Get:4 http://archive.ubuntu.com hoary/universe libswt-gtk3 3.0-6 
[1092kB]
Get:5 http://archive.ubuntu.com hoary/universe libswingwt0 0.85.1-1 
[773kB]
Get:6 http://archive.ubuntu.com hoary/universe swingwt-demo 0.85.1-1 
[51.9kB]
Fetched 8002kB in 26m22s (5057B/s)
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "de_DE:de:en_GB:en",
        LC_ALL = (unset),
        LC_MESSAGES = "en_GB.UTF-8",
        LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: Datei oder Verzeichnis 
nicht gefunden

Preconfiguring packages ...
Selecting previously deselected package libgcj-common.
(Reading database ... 222975 files and directories currently installed.)
Unpacking libgcj-common 
(from .../libgcj-common_4.0-0pre6ubuntu7_all.deb) ...
Selecting previously deselected package libgcj4.
Unpacking libgcj4 (from .../libgcj4_3.3.5-8ubuntu2_amd64.deb) ...
Selecting previously deselected package libgcj5.
Unpacking libgcj5 (from .../libgcj5_3.4.3-9ubuntu4_amd64.deb) ...
Selecting previously deselected package libgcj5-common.
Unpacking libgcj5-common 
(from .../libgcj5-common_3.4.3-9ubuntu4_all.deb) ...
Selecting previously deselected package libswt-gtk3-jni.
Unpacking libswt-gtk3-jni (from .../libswt-gtk3-jni_3.0-6_amd64.deb) ...
Selecting previously deselected package libswt-gtk3.
Unpacking libswt-gtk3 (from .../libswt-gtk3_3.0-6_amd64.deb) ...
Selecting previously deselected package libswingwt0.
Unpacking libswingwt0 (from .../libswingwt0_0.85.1-1_amd64.deb) ...
Selecting previously deselected package swingwt-demo.
Unpacking swingwt-demo (from .../swingwt-demo_0.85.1-1_amd64.deb) ...
Setting up libgcj-common (4.0-0pre6ubuntu7) ...
Setting up libgcj4 (3.3.5-8ubuntu2) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "de_DE:de:en_GB:en",
        LC_ALL = (unset),
        LC_MESSAGES = "en_GB.UTF-8",
        LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "de_DE:de:en_GB:en",
        LC_ALL = (unset),
        LC_MESSAGES = "en_GB.UTF-8",
        LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Setting up libgcj5 (3.4.3-9ubuntu4) ...

Setting up libgcj5-common (3.4.3-9ubuntu4) ...
Setting up libswt-gtk3-jni (3.0-6) ...
Setting up libswt-gtk3 (3.0-6) ...

Setting up libswingwt0 (0.85.1-1) ...

Setting up swingwt-demo (0.85.1-1) ...

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...

$ 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 "$@"

Kind regards

Gerhard