public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Petteri Räty" <betelgeuse@gentoo.org>
To: Ted Kosan <tkosan@yahoo.com>
Cc: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] Adding native library path to system VM
Date: Mon, 14 Nov 2005 16:01:23 +0200	[thread overview]
Message-ID: <437898B3.7040207@gentoo.org> (raw)
In-Reply-To: <20051113223634.32956.qmail@web31806.mail.mud.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 962 bytes --]

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@dev.java.net

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

      reply	other threads:[~2005-11-14 14:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-13 22:36 [gentoo-java] Adding native library path to system VM Ted Kosan
2005-11-14 14:01 ` Petteri Räty [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=437898B3.7040207@gentoo.org \
    --to=betelgeuse@gentoo.org \
    --cc=gentoo-java@lists.gentoo.org \
    --cc=tkosan@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox