Gentoo Archives: gentoo-user

From: "habutre ." <habutre@×××××××.com>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] Java and java.library.path
Date: Wed, 18 Jan 2006 11:38:34
Message-Id: BAY108-F15F81BC8DF9446EB9C7DB2B21D0@phx.gbl
In Reply to: [gentoo-user] Java and java.library.path by darren kirby
1 Hi, Kirby
2
3 Did I've the same problerm a any time ago with a thirty-part lib (*.so), I
4 tried all but no success. I put in LD_LIBRARY var, in CLASS_PATH and
5 nothing.
6 The solucion for me was put the lib (*.so) in the $JAVA_HOME/jre/lib/i386/
7 directory, I didn't test, but the parameter Djava.library.path=/usr/lib
8 should has the same result.
9
10 I hope should help you...
11
12 Rogerio
13
14 "Fé inabalável é somente
15 aquela que pode encarar a
16 razão face-a-face em qualquer
17 época da Humanidade".
18
19
20
21
22 >From: darren kirby <bulliver@×××××××××××.org>
23 >Reply-To: gentoo-user@l.g.o
24 >To: gentoo-user@l.g.o
25 >Subject: [gentoo-user] Java and java.library.path
26 >Date: Tue, 17 Jan 2006 12:49:30 -0800
27 >
28
29 "Fé inabalável é somente
30 aquela que pode encarar a
31 razão face-a-face em qualquer
32 época da Humanidade".
33
34
35
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) and
59 >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 logged
63 >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 get
66 >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 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Java and java.library.path darren kirby <bulliver@×××××××××××.org>