Java API
github: scapix-java-api
Collection of pre-generated C++ headers for multiple JDK and Android platforms, used with Scapix JNI C++ library. For example, see generated C++ header: java/lang/String.h.
Generating additional bindings
You can also use scapix_java to generate your own C++ bindings (from Java *.class files) for another JDK or Android release or for any other Java code, including your own. These examples show how to generate additional C++ bindings.
Generate bindings for jdk-26 platform API
JDKs provide platform API in multiple *.jmod files inside jmods folder.
You don’t have to install corresponding JDK, it is enough to unpack jmods folder and point scapix_java to it.
Now you can run CMake with SCAPIX_JAVA_API=jdk-26.
Generate bindings for android-37 platform API
Android SDKs provide platform API in android.jar file.
Now you can run CMake with SCAPIX_JAVA_API=android-37.