graalpython-java-example
                                
                                 graalpython-java-example copied to clipboard
                                
                                    graalpython-java-example copied to clipboard
                            
                            
                            
                        Java and Python Integration Example for GraalVM
Java and Python Integration Example for GraalVM
This example demonstrates how to integrate Python on GraalVM with a Java application.
Getting Started
- Download GraalVM CE or EE and set your JAVA_HOMEto 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
Extending and Experimenting
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