This has been tested with OpenJDK 6 on Ubuntu-12.04 and Arch Linux-3.11, 64-bit - OpenJDK is required to compile and run this test code. Install OpenJDK 6 with: $ sudo apt-get install openjdk-6-jre-headless openjdk-6-jdk libjna-java - To compile and run this Java test code: $ make $ ./run.sh