Elide includes the commands needed for common Java and Kotlin workflows. The 1.5.0 toolchain supports Java 25 and Kotlin 2.4.10.
Compile and run
elide javac -- -d out Hello.java
elide java -- -cp out Hello
elide kotlinc -- -d out Hello.kt
elide java -- -cp out HelloKt
Options for the wrapped compiler or runtime go after --.
Format
Format Java and Kotlin together:
elide format -- src
elide format -- -n src # check only
Use elide javaformat or elide ktfmt when you need options specific to one
formatter.
Build a project
With an elide.pkl manifest, Elide can install Maven dependencies, compile
source sets, run tests, and assemble declared artifacts:
elide install
elide build
elide test
JVM tests require a test source set in the manifest.
Existing build systems
Existing builds can invoke Elide’s compiler wrappers directly with the same
argument boundary used above. Bazel integrations can use the persistent-worker
mode exposed by elide javac --persistent_worker and
elide kotlinc --persistent_worker.
Gradle and Maven plugins are released separately from the Elide binary. Their setup is intentionally not duplicated here because plugin versions and configuration can change independently. Use the direct compiler commands when you need a versioned, binary-owned interface.
Reference
- Java compiler
- Kotlin compiler
- Java formatter
- Kotlin formatter
- JAR assembly
- Maven dependencies
- Testing
- JVM containers
- Native Image
Run elide --help-all for the complete command list.