December 2019
Intermediate to advanced
314 pages
6h 51m
English
To test whether your GraalVM environment works correctly, we will be adding a minimal Java class and running it. Open an editor and create the following Main class:
public class Main { public static void main(String[] args) { System.out.println("Hello GraalVM!"); }}
Compile this class into bytecode and then run it on GraalVM using the following commands:
$ javac Main.java$ java Main
This will give us the following output:
Hello GraalVM!
Read now
Unlock full access