Skip to content

A simple application to show how to use JNI in order to communicate between C/CPP and Java

Notifications You must be signed in to change notification settings

yigitpirildak/SimpleJNIDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SimpleJNIDemo

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.

Dependencies

Youn will need Java and g++ in order to build the project.

sudo apt-get install default-jdk build-essentials

Build the sample application:

make temperaturesampler

Build and run afterwards:

make run_temperaturesampler

About

A simple application to show how to use JNI in order to communicate between C/CPP and Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published