Sorry for the late to respond.
Maybe you can try the Java-Python Linker Library (JPYL), which allows you to invoke C-Python scripts from your Java App and catch the Python outputs. The library also allows you to pass parameters to your Python Scripts.
https://github.com/livegrios/jpyll
Greetings!