Bridge Java from python with pyjnius
pre-requisites:
- python 3.8
- Open jdk 11
- javac
usage
- Compile the java project with maven
mvn clean install -f some-java-app/pom.xml
- Make sure the jar file is located at
some-java-app/target/some-java-app-1.0-SNAPSHOT.jar
- Run the python script
python some-python-app