On Thursday 21 June 2007 21:21:07 Shaun Jackman wrote:
> This bug is reported here:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428087
>
> I'm on vacation, since I've moved to a new city, and am busy looking
> for work and an apartment. So, no fixes for a couple months. Sorry.
>
> Cheers,
> Shaun
Ok, as Matt points out the short-term fix is to fiddle with the script. In my
case it was enough to change the swt.jar path (/usr/bin/azureus) from:
exec $JAVA -Djava.library.path=.:/usr/lib/jni:/usr/lib:/usr/share/java/ \
-classpath Azureus2.jar:swt.jar:/usr/share/java/Azureus2.jar:$JARS \
org.gudy.azureus2.ui.common.Main "$@"
To:
exec $JAVA -Djava.library.path=.:/usr/lib/jni:/usr/lib:/usr/share/java/ \
-classpath
Azureus2.jar:/usr/lib/java/swt.jar:/usr/share/java/Azureus2.jar:$JARS \
org.gudy.azureus2.ui.common.Main "$@"
Note the swt.jar path now.
Hope this helps.
>
> On 6/19/07, ergosum <[EMAIL PROTECTED]> wrote:
> > Hello Shaun,
> > After an upgrade from unstable azureus stoped working with the
> > next error:
> >
> > [EMAIL PROTECTED]:~$ azureus
> > java.lang.reflect.InvocationTargetException
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> >:39) at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> >mpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585)
> > at org.gudy.azureus2.ui.common.Main.directLaunch(Main.java:225)
> > at org.gudy.azureus2.ui.common.Main.main(Main.java:132)
> > Caused by: java.lang.UnsatisfiedLinkError: no swt-gtk-3235 in
> > java.library.path
> > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
> > at java.lang.Runtime.loadLibrary0(Runtime.java:822)
> > at java.lang.System.loadLibrary(System.java:993)
> > at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
> > at org.eclipse.swt.internal.Callback.<clinit>(Callback.java:36)
> > at
> > org.eclipse.swt.widgets.Display.createDisplay(Display.java:807) at
> > org.eclipse.swt.widgets.Display.create(Display.java:781) at
> > org.eclipse.swt.graphics.Device.<init>(Device.java:145) at
> > org.eclipse.swt.widgets.Display.<init>(Display.java:452) at
> > org.eclipse.swt.widgets.Display.<init>(Display.java:443) at
> > org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:82)
> > at
> > org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.ja
> >va:61) at
> > org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:1
> >10) at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:147)
> > at org.gudy.azureus2.ui.swt.Main.main(Main.java:162)
> > ... 6 more
> > Start fails:
> > com.aelitis.azureus.core.AzureusCoreException: Azureus core already
> > instantiated
> > at
> > com.aelitis.azureus.core.impl.AzureusCoreImpl.create(AzureusCoreImpl.java
> >:89) at
> > com.aelitis.azureus.core.AzureusCoreFactory.create(AzureusCoreFactory.jav
> >a:46) at org.gudy.azureus2.ui.common.Main.main(Main.java:137)
> >
> > ----------
> >
> > Funny enough it came after the libswt-gtk-3.2-java update. AFAIK it's not
> > an azureus problem per se, but a problem with the java libraries:
> >
> > [EMAIL PROTECTED]:~$ dpkg -l | grep swt
> > ii libswt-gtk-3.2-java 3.2.1-5+b1
> > ii libswt3.2-gtk-java 3.2.2-1
> > ii libswt3.2-gtk-jni 3.2.2-1
> > [EMAIL PROTECTED]:~$ dpkg -l | grep azureus
> > ii azureus 2.5.0.0+0-1
> >
> > I traced the problem to the version of swt my system has:
> > [EMAIL PROTECTED]:~$ ls -la /usr/lib/jni/
> > total 824
> > drwxr-xr-x 2 root root 4096 2007-06-20 01:30 .
> > drwxr-xr-x 135 root root 57344 2007-06-20 00:21 ..
> > -rw-r--r-- 1 root root 26200 2007-06-04 14:11 libswt-atk-gtk-3236.so
> > -rw-r--r-- 1 root root 2980 2007-06-04 14:11 libswt-awt-gtk-3236.so
> > -rw-r--r-- 1 root root 44076 2007-06-04 14:11 libswt-cairo-gtk-3236.so
> > -rw-r--r-- 1 root root 10116 2007-06-04 14:11 libswt-glx-gtk-3236.so
> > -rw-r--r-- 1 root root 10668 2007-06-04 14:11 libswt-gnome-gtk-3236.so
> > -rw-r--r-- 1 root root 234348 2007-06-04 14:11 libswt-gtk-3236.so
> > -rw-r--r-- 1 root root 53320 2007-06-04 14:11
> > libswt-mozilla-gtk-3236.so -rw-r--r-- 1 root root 365928 2007-06-04
> > 14:11 libswt-pi-gtk-3236.so
> >
> > If you compare the error with the .so version you can see that azureus
> > asks for version 3235 while the latest update from unstable gives me
> > 3236. Maybe is that or another thing, I'm not into Java so I can't really
> > say anything more.
> >
> > Please let me know what's your opinion and if you know what the problem
> > might be. Thank you very much in advance!
> >
> > --
> > http://www.neurosecurity.com
> >
> > "We must be the change we wish to see in the world"
> > Mahatma Gandhi
--
http://www.neurosecurity.com
"We must be the change we wish to see in the world"
Mahatma Gandhi
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]