Top "Jna" questions

Java Native Access (JNA) provides pure Java access to native shared libraries without the need for additional native or JNI code.

How to get list of all window handles in Java (Using JNA)?

I am novice for JNA. I am trying to get handles for all the windows including minimised ones. I need …

java windows winapi jna
Load DLL (using JNA) inside an OSGi bundle

OSGi cannot find my DLL file, and I can't seem to figure out why. Currently I have the DLL file (…

java osgi jna
How to check if a file is readable?

I'm writing Java 6 application and I have to check if a file is readable. However, on Windows canRead() always returns …

java winapi java-native-interface jna
How to get the x and y of a program window in Java?

Is there a way for me to get the X and Y values of a window in java? I read …

java runtime coordinates jna awtrobot
JNA native support (/com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path

I have started to build a java service which incorporates JNA to load a native C/C++ lib and i …

java jna raspberry-pi
How to manipulate memory from Java with JNA on Windows

How do I manipulate memory from Java? I know that Java runs in it's own JVM, so it can't access …

java memory jna
Using JNA to link to custom dll

how do I access custom .lib / .dll functions using JNA? Can someone provide an example? Thank you.

java dll jna
JNA Keyboard Hook in Windows

I have put together a JNA code for installing keyboard hook in Windows (using the JNA examples). The code compiles …

java windows jna keyboard-hook
Converting String to Pointer for JNA

I'm trying to use JNA to query the effective permissions for a file in Windows. Eventually, I plan on using …

java winapi jna
Java Native Access doesn't do C++, right?

I've found many references online (including some on stackoverflow) to JNA being used for C++ libraries, but nothing I can …

java java-native-interface native jna