Gentoo Archives: gentoo-user

From: darren kirby <bulliver@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Java and java.library.path
Date: Tue, 17 Jan 2006 20:52:57
Message-Id: 200601171249.36598.bulliver@badcomputer.org
1 Hello all,
2
3 I am trying to get an app called iriverter up and running. Not in portage so I
4 built and installed manually, which went with no errors. However, after
5 starting the app I get:
6
7 Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3201
8 in java.library.path
9
10 But I do have this library:
11 $ locate swt-pi-gtk
12 /usr/lib/libswt-pi-gtk-3201.so
13
14 I ran java-config to see which java I am using (blackdown-jdk-1.4.2.02) and I
15 edited /etc/env.d/java/20blackdown-jdk-1.4.2.02 and added '/usr/lib/' to the
16 'ADDLDPATH' variable, ran env-update, sourced /etc/profile, and even logged
17 out and back in but I still have the same error.
18
19 Now: I don't really know jack about java, so can someone tell me how to get
20 this to work? How can I add /usr/lib/ to java's library path?
21
22 Thanks for consideration,
23 -d
24 --
25 darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
26 "...the number of UNIX installations has grown to 10, with more expected..."
27 - Dennis Ritchie and Ken Thompson, June 1972

Replies

Subject Author
Re: [gentoo-user] Java and java.library.path Trenton Adams <trenton.d.adams@×××××.com>
RE: [gentoo-user] Java and java.library.path "habutre ." <habutre@×××××××.com>