Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Java (Azureus) kann vorhandene Lib nicht oeffnen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
agent_sheep
n00b
n00b


Joined: 07 Apr 2003
Posts: 14

PostPosted: Wed May 19, 2004 7:31 pm    Post subject: Java (Azureus) kann vorhandene Lib nicht oeffnen Reply with quote

moin,

ich will azureus starten, hab jedoch fogende Meldung:

tim@Linuxer tim $ azureus
Attempting to start Azureus...
java.lang.UnsatisfiedLinkError: /usr/lib/azureus/libswt-pi-gtk-3038.so: /usr/lib/azureus/libswt-pi-gtk-3038.so: cannot o
pen shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1737)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1662)
at java.lang.Runtime.loadLibrary0(Runtime.java:817)
at java.lang.System.loadLibrary(System.java:986)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:112)
at org.gudy.azureus2.ui.swt.MainWindow.<init>(MainWindow.java:391)
at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:117)
at org.gudy.azureus2.ui.swt.Main.main(Main.java:163)
Exception in thread "main" java.lang.NullPointerException
at org.gudy.azureus2.ui.swt.MainWindow.waitForClose(MainWindow.java:1974)
at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:123)
at org.gudy.azureus2.ui.swt.Main.main(Main.java:163)
If you recieved an error about a missing java class, you need to setup
your classpath correctly.
This should do the trick (as root):
java-config --add-system-classpath=junit,log4j,commons-cli,systray4j
env-update && source /etc/profile

Currently, your classpath (including azureus additions) is:
swt.jar:swt-pi.jar:swt-mozilla.jar:seda.jar:Azureus2.jar:/usr/share/log4j/lib/log4j-1.2.8.jar:/usr/share/commons-cli-1/l
ib/commons-cli.jar:/usr/share/systray4j/lib/systray4j.jar:/usr/share/junit/lib/junit.jar:.


tim@Linuxer tim $ java-config --list-available-vms
[sun-jdk-1.5.0_beta1] "SunJDK1.5.0_beta1"(/etc/env.d/java/20sun-jdk-1.5.0_beta1) *

aber das allergeilste an der Sache ist, das die libswt-pi-gtk-3038.so genau da ist, wo er sie sucht.
Hatte auch schon /usr/lib/azureus im ld.so.config und dann ldconfig gemacht,
half auch nichts. Leserechte stimmen natuerlich auch.
Meine Netbeans Java IDE will auch nicht. Was ist da bitte buggy?

tim@Linuxer azureus $ uname -a
Linux Linuxer 2.6.5-gentoo-r1 #1 Sat May 15 02:38:24 CEST 2004 x86_64 4 GNU/Linux

THX Agent
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum