This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Help, Setting classpath, using external java libraries with Kawa
- From: "Sudarshan S Chawathe" <chaw at eip10 dot org>
- To: Vasantha Ganesh <vasanthaganesh dot k at gmail dot com>
- Cc: kawa at sourceware dot org
- Date: Sat, 01 Apr 2017 07:23:44 -0400
- Subject: Re: Help, Setting classpath, using external java libraries with Kawa
- Authentication-results: sourceware.org; auth=none
- Reply-to: "Sudarshan S Chawathe" <chaw at eip10 dot org>
> From: Vasantha Ganesh <vasanthaganesh.k@gmail.com>
> Date: Sat, 1 Apr 2017 15:05:52 +0530
> This is probably a noob question. In Java while compiling and using
> external libraries we use -classpath option. How to use external java
> libraries with Kawa?
If I understand your question correctly then it seems you need to use
the -D option to define java.library.path suitably. Example:
kawa -Djava.library.path="/where/the/java/libs/are:/another/one:/so/on"
Regards,
-chaw