Just a note that there is no native-image
executable in GraalVM Community Edition out-of-the-box. You’ll need to run gu install native-image
. Also, for those reading this … if you use GraalVM Enterprise Edition read the license carefully. It contains this fun little clause: “Oracle grants You a nonexclusive, nontransferable, limited license to internally use the Programs, subject to the restrictions stated in this Agreement, only for the purpose of (i) OCI Use and (ii) developing, testing, prototyping, and demonstrating Your application and only as long as Your application has not been used for any data processing, business, commercial, or production purposes other than OCI Use, and not for any other purpose.”