Examples

github: scapix-jni-example1

This example demonstrates how to implement Java native methods in C++.

Clone and build (Windows, macOS, Linux):

git clone https://github.com/scapix-com/scapix-jni-example1
cd scapix-jni-example1
cmake -B build
cmake --build build

github: scapix-jni-example2

This example is a C++ application which creates Java VM and calls various Java APIs using scapix-java-api generated headers.

Clone and build (Windows, macOS, Linux):

git clone https://github.com/scapix-com/scapix-jni-example2
cd scapix-jni-example2
./build.sh default