i have an app built using micronaut, jni & mqtt. To create a c/c++ header file to communicate with hardware, how to run or create .h file dynamically while its running on the Raspberry Pi.
i use javac -cp "required_dependencyJAR_ABC.jar" MyNativeFile.java
in command line.
Question is while running the micronaut app how to invoke this utility for header generation.