java-tutorials/core-java-modules/core-java-9-new-features/compile-aot.sh

6 lines
167 B
Bash

#!/usr/bin/env bash
cd src/main/java
javac com/baeldung/java9/aot/JaotCompilation.java
jaotc --output jaotCompilation.so com/baeldung/java9/aot/JaotCompilation.class