paulvi / graalpython-java-example

Java and Python Integration Example for GraalVM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java and Python Integration Example for GraalVM

This example demonstrates how to integrate Python on GraalVM with a Java application.

Getting Started

  1. Download GraalVM CE or EE and set your JAVA_HOME to point to it. Make sure you have installed Python support:
"${JAVA_HOME}"/gu install python
  1. Compile the example:
mvn compile
  1. 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.

About

Java and Python Integration Example for GraalVM

License:MIT License


Languages

Language:Java 64.4%Language:Python 35.6%