/okta-graalvm-example

An example project showing the packaging of a Java application as a native-image using GraalVM

Primary LanguageJava

Build native binaries with GraalVM

This example shows how to use GraalVM to turn a Java application into a native binary using GraalVM's native-image tool.

Please read Watch GraalVM Turn Your Java Into Binaries for a tutorial that shows you how to build this application.

Prerequisites:

Table of Contents

Getting Started

This repository contains two examples (jvm and javascript), you can build each one using mvn package.

git clone https://github.com/oktadeveloper/okta-graalvm-example.git
cd jdk
mvn package

Run the application

To start the application you can run:

./target/roll 2d20

Links

This example uses the following libraries provided by Okta:

Help

Please post any questions as comments on this blog post, or visit our Okta Developer Forums. You can also email developers@okta.com if would like to create a support ticket.

License

Apache 2.0, see LICENSE.