Get started with Apache Flink and Maven
You need the following:
- Java 8.0 or 11 You can download the Java SE Development Kit software from http://www.oracle.com/technetwork/java/javase/downloads/ or use the OpenJDK version from https://openjdk.java.net/install/index.html.
- Apache Maven If you need to install Maven, go to http://maven.apache.org/ to download and install it.
Build the project
Clone the example project and use Maven to build it.
To build your Maven project from the command line, open a terminal or command prompt window, navigate to your project directory, enter or paste the following command, then press Enter or Return.
This creates a single .jar file (JAR) in the target directory. This JAR contains all the dependencies specified in the pom.xml file.
Upload the jar
To create the job on Graal, use Flink runtime with the Jar that you have uploaded and specify the main class to be executed: graal.systems.examples.Flink