Comment 15 for bug 57875

Revision history for this message
Gary Coady (garycoady) wrote : Re: Azureus does not start

Updated list of things required to get the azureus package to work:
1. In debian/azureus.sh, change "glib0.2.jar" to "glib0.4.jar".
2. In debian/azureus.sh, change "gtk2.8.jar" to "gtk2.10.jar".
3. In debian/azureus.sh, add "export LD_LIBRARY_PATH=/usr/lib/jni:/usr/lib".
4. Add a call to org.gtk.Gtk.init before org.gudy.azureus2.ui.swt.ImageRepository.loadImages is called. The problem here is that the GTK library has not yet been loaded, so none of the GTK calls can be resolved. In my testing, I edited azureus/org/gudy/azureus2/ui/swt/mainwindow/Initializer.java, and added the following lines to the run() method:
        String gtk_args[] = new String[1];
        gtk_args[0] = "azureus";
        org.gnu.gtk.Gtk.init(gtk_args);

The call can actually go anywhere as long as it happens before any GTK calls are made.