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
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
To start the application you can run:
./target/roll 2d20
This example uses the following libraries provided by Okta:
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.
Apache 2.0, see LICENSE.