A simple application to demonstrate how JNI is used to communicate between C/CPP and Java.
Change JAVA_HOME variable inside Makefile based on your JDK directory before building.
Youn will need Java and g++ in order to build the project.
sudo apt-get install default-jdk build-essentials
make temperaturesampler
make run_temperaturesampler