Bug 428482 - Azureus GUI will not show
Summary: Azureus GUI will not show
Alias: None
Product: Fedora
Classification: Fedora
Component: azureus (Show other bugs)
(Show other bugs)
Version: 8
Hardware: i386 Linux
Target Milestone: ---
Assignee: Lillian Angel
QA Contact: Fedora Extras Quality Assurance
Keywords: Reopened
: 429036 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2008-01-11 22:55 UTC by E Mair
Modified: 2008-01-31 03:38 UTC (History)
7 users (show)

Fixed In Version: 8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-16 21:05:23 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description E Mair 2008-01-11 22:55:51 UTC
Description of problem:

When starting Azureus, it will not start the GUI and it doesn't create an icon
in the system tray. All it does is displaying a requester that says:

"Error Initialize MainWindow

Clicking on the "Details" button in the requester reveals this text:

"java.lang.NoClassDefFoundError: org/gnu/gtk/IconTheme
	at org.gudy.azureus2.ui.swt.ImageRepository.getThemedIcon(ImageRepository.java:77)
	at org.gudy.azureus2.ui.swt.ImageRepository.loadImages(ImageRepository.java:145)
	at org.gudy.azureus2.core3.util.AERunnable.run(AERunnable.java:38)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974)
	at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:156)
	at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:68)
	at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:102)
	at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:80)
	at org.gudy.azureus2.ui.swt.Main.main(Main.java:203)"

Version-Release number of selected component (if applicable):

$ java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)

How reproducible:

Steps to Reproduce:
1. Update from the last 2.x azureus release for F8 to azureus-
2. Run Azureus from the GNOME menu.
Actual results:
No GUI. No systray icon. Only an error message, and two running processes:

Process 1: /bin/sh /usr/bin/azureus

Process 2: java -Dazureus.install.path=[my-home-dir]/.azureus/ app
-Dazureus.script.version=2 - Dazureus.script=/usr/bin/azureus

Expected results:
Azureus should start up and show its GUI.

Additional info:
Renaming the old .azureus directory from azureus v2.x didn't help.

Comment 1 Lillian Angel 2008-01-14 16:07:51 UTC
I tested this out and it works fine. Though by looking at your processes, it
looks like it is not running the correct azureus. 

This is not a bug, and maybe you should re-test this once it shows up in the F-8

vi /usr/bin/azureus - you should see this:
MOZILLA_FIVE_HOME=/usr/lib/firefox- JAVA_HOME=/usr/lib/jvm/java-icedtea
CLASSPATH=/usr/lib/eclipse/swt.jar:`build-classpath bcprov jakarta-commons-cli
log4j gtk2.8 glib0.2`:/usr/share/azureus/Azureus2.jar java
-Dazureus.install.path=$APPDIR -Dazureus.script.version=$SCRIPT_VERSION
-Dazureus.script=$0 org.gudy.azureus2.ui.swt.Main "$@"

Comment 2 E Mair 2008-01-14 17:07:01 UTC
That is the exact text found in my /usr/bin/azureus script. I just checked with

I omitted my real username in the process listing in my report, sorry if that
was unclear. Now I also see a typo in the java process, there are a couple of
spaces that weren't there, my mistake.

Copy-n-paste of the correct process, again with username edited out:

java -Dazureus.install.path=/home/<username>/.azureus/app
-Dazureus.script.version=2 -Dazureus.script=/usr/bin/azureus

Comment 3 E Mair 2008-01-16 02:04:24 UTC
Installed azureus- from the F8 updates mirror at
ftp.funet.fi today. Exact same version/release number, but different RPM file
sizes: The RPM from Koji was 15027913 bytes, the new one from F8 updates is
15028073 bytes.

There's no difference in behaviour though. No GUI, and the same error message.

Comment 4 Lillian Angel 2008-01-16 03:49:34 UTC
I suspect this might be an issue only on your side since I cannot reproduce it. I will keep this bug report 
open, for sake of other users that might encounter the same problem.

Comment 5 Lillian Angel 2008-01-16 04:05:21 UTC
In the meantime, please give me more information:

rpm -qa libswt3-gtk2 ?
rpm -qa libgtk-java ? This should be version 2.8.

Comment 6 Lillian Angel 2008-01-16 04:11:34 UTC
rpm -qa libglib-java ?

Comment 7 E Mair 2008-01-16 04:20:11 UTC
No libglib-java installed or available through yum.

Comment 8 E Mair 2008-01-16 04:30:44 UTC
I just found a glib-java installed, if that helps:

Comment 9 Alex Lancaster 2008-01-16 04:43:41 UTC
I get the same error:

$ rpm -q libgtk-java libswt3-gtk2

looks like glib-java-0.2.6-10.fc8 wasn't pushed at the same time and is still in


this might be the underlying cause of this?

Comment 10 Alex Lancaster 2008-01-16 04:58:54 UTC
Hmm, tried updating from updates-testing:

sudo yum --enablerepo=updates-testing install glib-java

 Package                 Arch       Version          Repository        Size 
 glib-java               i386       0.2.6-10.fc8     updates-testing    37 k

but no luck.  For further reference this is my java version:

$ java -version
java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea Client VM (build 1.7.0-b21, mixed mode)

Comment 11 Lillian Angel 2008-01-16 13:25:32 UTC

this might be the cause. I have not updated to these versions:
$ rpm -qa glib-java

I will update my glib-java and retest this. In the meantime, try downgrading to glib-java-0.2.6-8.fc7.

Comment 12 Mathieu Brabant 2008-01-16 13:31:32 UTC
Same problem here.


java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea Client VM (build 1.7.0-b21, mixed mode)

Comment 13 Alex Lancaster 2008-01-16 13:36:08 UTC
(In reply to comment #11)
> https://admin.fedoraproject.org/updates/F8/FEDORA-2008-0461

> I will update my glib-java and retest this. In the meantime, try downgrading
to glib-java-0.2.6-8.fc7.

That's the version I was originally using when I first ran into the problem, I
get the same issue with both the old or new glib-java. 

Comment 14 Lillian Angel 2008-01-16 13:43:01 UTC
Ok, these packages obviously don't have any effect on azureus. I have completely updated my system, and 
I am still able to run azureus fine. I will keep working on reproducing it.

If urgent, you can try upgrading to azureus in rawhide.

Comment 15 Lillian Angel 2008-01-16 13:51:31 UTC
This is definitely a problem with libgtk-java

Comment 16 Lillian Angel 2008-01-16 13:54:38 UTC
$ jar tf /usr/share/java/gtk2.8.jar | grep IconTheme

Can you try doing this? If you don't have that jar, that is the problem.

Comment 17 Alex Lancaster 2008-01-16 14:09:52 UTC
I don't have jar installed, but unzip -l works and it looks like IconTheme is

$ unzip -l /usr/share/java/gtk2.8.jar |grep IconTheme
3959  09-14-06 22:14   org/gnu/gtk/IconTheme.class

Comment 18 Lillian Angel 2008-01-16 14:32:30 UTC
$ echo `build-classpath bcprov jakarta-commons-cli log4j gtk2.8 glib0.2`   ?

Mine gives:

This might be a problem with how CLASSPATH is set up in the /usr/bin/azureus script.

Comment 19 E Mair 2008-01-16 15:19:54 UTC
$ echo `build-classpath bcprov jakarta-commons-cli log4j gtk2.8 glib0.2`


$ jar tf /usr/share/java/gtk2.8.jar | grep IconTheme

Comment 20 Lillian Angel 2008-01-16 16:19:19 UTC
Do you have CLASSPATH set elsewhere? It may be overriding that defined in azureus.

Comment 21 Lillian Angel 2008-01-16 16:31:51 UTC
That probably isnt it. Though if you had azureus 2.5.0 running fine without this
error, then this is even more unusual.

Thanks for your patience. Still looking....

Comment 22 Lillian Angel 2008-01-16 17:10:04 UTC
I applied a patch that might fix this problem. Before I build it into the
updates repo, can you try installing the rpms found here:


Comment 23 Mathieu Brabant 2008-01-16 17:24:45 UTC
Same problem with this new RPM (azureus- with the addition that
the splash screen and GUI error message does not display at all.

Comment 24 Lillian Angel 2008-01-16 17:25:36 UTC
strange. ok thanks, ill keep looking.

Comment 25 E Mair 2008-01-16 17:31:08 UTC
Same result as in comment #23.

Output from running this version from a shell:

$ azureus
[GUI] Initialization fails:
DEBUG::Wed Jan 16 18:22:08 CET
  java.lang.NoClassDefFoundError: org/gnu/gtk/Gtk
	at org.gudy.azureus2.ui.swt.mainwindow.Initializer.run(Initializer.java:127)
	at org.gudy.azureus2.ui.swt.mainwindow.SWTThread$2.runSupport(SWTThread.java:146)
	at org.gudy.azureus2.core3.util.AERunnable.run(AERunnable.java:38)
	at java.lang.Thread.run(Thread.java:619)

Comment 26 Lillian Angel 2008-01-16 17:36:42 UTC
Ok it seems as though libgtk-java is not being loaded. 

Comment 27 Lillian Angel 2008-01-16 17:39:47 UTC
is this happening on i386 or x86_64?

Comment 28 E Mair 2008-01-16 17:46:12 UTC
For me, i386.

Comment 29 Andrew Overholt 2008-01-16 17:53:51 UTC
This may be way off base, but does azureus cache things somewhere in ~ ?  If so,
is there a -clean startup option?

Comment 30 Lillian Angel 2008-01-16 17:55:32 UTC
~/.azureus can be deleted. This might help, but i think someone tried this already.

Comment 31 Mathieu Brabant 2008-01-16 17:59:34 UTC
I'm on i386.  Deleting ~/.azureus did not solve the problem.

Comment 32 Lillian Angel 2008-01-16 20:35:33 UTC
I took out the azureus gtk custom theme patch. This will surely fix the problem.
Please test out the rpms found here:


Comment 33 Mathieu Brabant 2008-01-16 21:03:51 UTC
azureus- fixed the problem !

Thank you for your efforts.

Comment 34 Lillian Angel 2008-01-16 21:05:23 UTC
Great! I am building it into rawhide and F-8 now. It should be available through
yum within the next couple of days.

Comment 35 E Mair 2008-01-16 21:42:13 UTC
Works for me too. Thank you!

Comment 36 Lillian Angel 2008-01-16 22:39:30 UTC
*** Bug 429036 has been marked as a duplicate of this bug. ***

Comment 37 Alex Lancaster 2008-01-17 01:25:07 UTC
Works for me too.  Azureus has really changed with this update. 

(PS: Is there anyway to disable the Flash animation bar at the top?  Please
reply off-bug).

Comment 38 Lillian Angel 2008-01-17 04:43:04 UTC
You can vote for azureus to go into updates here:

Comment 39 Andrew Farris 2008-01-20 21:16:08 UTC
I also had this issue and the update does fix it, should go to updates-testing.

Comment 40 Fedora Update System 2008-01-22 15:50:42 UTC
azureus- has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.