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
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
|
|