Skip to content

Latest commit

 

History

History

graalpy-starter

GraalPy Quick Start

A minimal Java application that embeds Python code with GraalPy.

Preparation

Install GraalVM for JDK 23 and set the value of JAVA_HOME accordingly. We recommend using SDKMAN!. (For other download options, see GraalVM Downloads.)

sdk install java 23-graal

Run the Application Using Maven

To build and test the demo, run:

./mvnw test

To execute the main method, run:

./mvnw exec:java

Run the Application Using Gradle

To build and test the demo, run:

./gradlew test

To execute the main method, run:

./gradlew run