Gentoo Archives: gentoo-user

From: darren kirby <bulliver@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Java and java.library.path
Date: Wed, 18 Jan 2006 13:48:24
Message-Id: 200601180542.33942.bulliver@badcomputer.org
In Reply to: RE: [gentoo-user] Java and java.library.path by "habutre ."
1 quoth the habutre .:
2 > Hi, Kirby
3 >
4 > Did I've the same problerm a any time ago with a thirty-part lib (*.so), I
5 > tried all but no success. I put in LD_LIBRARY var, in CLASS_PATH and
6 > nothing.
7 > The solucion for me was put the lib (*.so) in the $JAVA_HOME/jre/lib/i386/
8 > directory, I didn't test, but the parameter Djava.library.path=/usr/lib
9 > should has the same result.
10
11 Hello.
12
13 I tried you advice, and copied the lib to $JAVA_HOME/jre/lib/i386/ but it is
14 still the same result...
15
16
17 > I hope should help you...
18 >
19 > Rogerio
20 >
21 > "Fé inabalável é somente
22 > aquela que pode encarar a
23 > razão face-a-face em qualquer
24 > época da Humanidade".
25 >
26 > >From: darren kirby <bulliver@×××××××××××.org>
27 > >Reply-To: gentoo-user@l.g.o
28 > >To: gentoo-user@l.g.o
29 > >Subject: [gentoo-user] Java and java.library.path
30 > >Date: Tue, 17 Jan 2006 12:49:30 -0800
31 >
32 > "Fé inabalável é somente
33 > aquela que pode encarar a
34 > razão face-a-face em qualquer
35 > época da Humanidade".
36 >
37 > >From: darren kirby <bulliver@×××××××××××.org>
38 > >Reply-To: gentoo-user@l.g.o
39 > >To: gentoo-user@l.g.o
40 > >Subject: [gentoo-user] Java and java.library.path
41 > >Date: Tue, 17 Jan 2006 12:49:30 -0800
42 > >
43 > >Hello all,
44 > >
45 > >I am trying to get an app called iriverter up and running. Not in portage
46 > >so I
47 > >built and installed manually, which went with no errors. However, after
48 > >starting the app I get:
49 > >
50 > >Exception in thread "main" java.lang.UnsatisfiedLinkError: no
51 > >swt-pi-gtk-3201
52 > >in java.library.path
53 > >
54 > >But I do have this library:
55 > >$ locate swt-pi-gtk
56 > >/usr/lib/libswt-pi-gtk-3201.so
57 > >
58 > >I ran java-config to see which java I am using (blackdown-jdk-1.4.2.02)
59 > > and I
60 > >edited /etc/env.d/java/20blackdown-jdk-1.4.2.02 and added '/usr/lib/' to
61 > >the
62 > >'ADDLDPATH' variable, ran env-update, sourced /etc/profile, and even
63 > > logged out and back in but I still have the same error.
64 > >
65 > >Now: I don't really know jack about java, so can someone tell me how to
66 > > get this to work? How can I add /usr/lib/ to java's library path?
67 > >
68 > >Thanks for consideration,
69 > >-d
70 > >--
71 > >darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
72 > >"...the number of UNIX installations has grown to 10, with more
73 > >expected..."
74 > >- Dennis Ritchie and Ken Thompson, June 1972
75 > >
76 > >
77 > ><< attach3 >>
78 >
79 > _________________________________________________________________
80 > MSN Busca: fácil, rápido, direto ao ponto. http://search.msn.com.br
81
82 --
83 darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
84 "...the number of UNIX installations has grown to 10, with more expected..."
85 - Dennis Ritchie and Ken Thompson, June 1972