JNA (for Java Native Access) is an alternative of JNI (Java Native Interface). It allows to load and use native libs (dll for windows, so for Unix dynamic, etc). JNA is easier to use than JNI and provide a kind of proxy (avoiding to write a Java/C wrapper for instance).

Jline console leverages native lib (especially on Windows) for coloring, etc. It uses JNA for that.

Regards
JB

On 08/31/2012 03:55 PM, Achim Nierbeck wrote:
Hi,

IIRC this has been included into jline also for windows somewhere
between 2.2.0 and 2.2.5.
so it's not needed anymore.

regards, Achim

2012/8/31 Romain Gilles <[email protected]>:
Hi all,
I would like to know what it introduced by the jna lib? Currently when I'm
using karaf it is already colorized without executing the following
documentation step:
http://karaf.apache.org/manual/latest-2.2.x/users-guide/colorized-console.html

Romain




--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to