This example demonstrates how to integrate Python on GraalVM with a Java application.
- Download GraalVM CE or EE and set your
JAVA_HOME
to point to it. Make sure you have installed Python support:
"${JAVA_HOME}"/bin/gu install python
- Compile the example:
mvn compile
- Run the example:
mvn exec:exec
This repository is meant as an example and a jumping off point. There are
comments in the Java and Python files and the pom.xml
for those aspects that
are of particular interest for Java and Python integration on GraalVM. The
example is kept small on purpose to allow reading through all of those files and
experiment.
Blog post https://medium.com/graalvm/supercharge-your-java-apps-with-python-ec5d30634d18