Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 681 Bytes

File metadata and controls

40 lines (26 loc) · 681 Bytes

GraalPy Quick Start

A minimal Java application that embeds Python code with GraalPy.

Preparation

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

sdk install java 24.0.2-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