Build faster, smaller, leaner applications
open sourceGPL-2.0-only WITH Classpath-exception-2.0self-hostablefree
GraalVM is Oracle's Java Development Kit with the Graal optimizing just-in-time compiler and Native Image, which compiles Java applications ahead of time into standalone native executables that start instantly, reach peak performance with no warmup and use a fraction of a JVM's memory and CPU. You use it like any other JDK in your IDE, build native executables with Maven and Gradle plugins, test them with JUnit, debug them with GDB and monitor them with JFR and JMX, and a statically linked executable can run in a scratch container image. Spring Boot, Micronaut, Helidon and Quarkus support it, as do the SDKs of AWS, Azure, Google Cloud and Oracle Cloud. Its Truffle framework runs other languages too, such as GraalJS, GraalPy, GraalWasm and LLVM bitcode, alongside Java. It comes as GraalVM Community Edition, open source under GPL 2 with the Classpath Exception, and as Oracle GraalVM, free for commercial and production use under Oracle's GraalVM Free Terms and Conditions.
Problems it solves
- my Java microservice takes seconds to start and uses too much memory in containers
- compile a Java app into a single native executable with instant startup
- cut cloud costs for Java services by using less memory and CPU
- ship a Spring Boot or Quarkus app in a tiny container image
- run serverless Java functions without JVM warmup
- a faster JIT compiler for my long-running Java application
- run JavaScript or Python code inside my Java application
Features
- Native Image: ahead-of-time compilation to standalone executables
- Graal optimizing JIT compiler
- drop-in JDK for IDEs and tools
- Maven and Gradle plugins (Native Build Tools)
- JUnit testing of native executables
- GDB debugging of native executables
- JFR, JMX and heap dumps in native executables
- static executables for scratch container images
- Truffle framework for other languages (GraalJS, GraalPy, GraalWasm, LLVM bitcode)
- GitHub Action, container images and SDKMAN! installs
Ways to run it
GraalVM Community Edition
free
Oracle GraalVM
free
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what GraalVM does.
- Eclipse Temurin Prebuilt OpenJDK binaries for free