Skip to content

A simple application to demonstrate how JNA is used to communicate between C and Java.

Notifications You must be signed in to change notification settings

yigitpirildak/SimpleJNADemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleJNADemo

A simple application to demonstrate how JNA is used to communicate between C and Java. Written for Linux but may be used as a reference to adapt to other plaforms as well. Application was written as an example to use in my Medium Article.

Dependencies

You will need gcc in order to build the project.

sudo apt-get install build-essentials

Build the TemperatureSampler.c in order to generate the shared object before running the application.

cd native
make all

About

A simple application to demonstrate how JNA is used to communicate between C and Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published