Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Ted Kosan <tkosan@...>
From: Petteri Räty <betelgeuse@g.o>
Subject: Re: Adding native library path to system VM
Date: Mon, 14 Nov 2005 16:01:23 +0200
Ted Kosan wrote:
> Hello,
> 
> I recently emerged the dev-java/rxtx package and it installs native libraries
> into /opt/rxtx-2/lib/
> 
> My question is, how is this path added to the system's VM so that the native
> libraries in it can be found?
> 
> I used java-config to add the package's jar to the system's classpath (
> CLASSPATH=/usr/share/rxtx-2/lib/RXTXcomm.jar ) but I did not see any
> java-config options that could be used to add native libraries to the system
> VM.
> 
> I am currently using sun-jdk-1.5.0.05.
> 
> Thanks in advance :-)
> 
> Ted Kosan
> java.net Embedded Java community co-leader
> tkosan@...

java-config --library rxtx2

aria betelgeuse # java-config -i rxtx-2
/opt/rxtx-2/lib

It is the job of the applications using rxtx to call this in their
startup scripts. You should not set a system wide classpath, that is
deprecated and not supported by the java team.

Regards,
Petteri Räty

Attachment:
signature.asc (OpenPGP digital signature)
References:
Adding native library path to system VM
-- Ted Kosan
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Adding native library path to system VM
Next by thread:
Preliminary gcj-4 ebuild
Previous by date:
Preliminary gcj-4 ebuild
Next by date:
GNU Classpath hacker room at FOSDEM 2006


Updated Jun 17, 2009

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.