Skip to content
SPECIFICTION
Get listed

TeaVM

teavm.org

Web
Visit teavm.org
Spec score 6.7 #28 of 28 in Code Transpilers

Spec sheet

What it does
TeaVM is an ahead-of-time compiler that turns Java bytecode into JavaScript and WebAssembly for browsers.Read 8 Oct 2026 · teavm.org
Intended users
The project describes TeaVM as a fit for Java, Kotlin, or Scala developers building web front ends within their existing development ecosystem.Read 8 Oct 2026 · teavm.org
Support
The project lists [email protected] for contact and says users can report issues on its project issue tracker.Read 8 Oct 2026 · github.com
License
The project repository states that TeaVM is distributed under the Apache License 2.0.Read 8 Oct 2026 · github.com
Browser deployment
The guide says WebAssembly projects must be served over HTTP because browsers do not load wasm files from the local file system.Read 8 Oct 2026 · teavm.org
Browser interop
TeaVM provides JavaScript interoperability APIs, including wrappers for interacting with browser APIs.Read 8 Oct 2026 · teavm.org
Build integrations
The getting-started guide documents Maven archetypes and a Gradle plugin, with generated web apps deployable as WAR files or opened from an unzipped directory.Read 8 Oct 2026 · teavm.org
Build tools
The getting started guide shows Maven archetypes and a Gradle plugin for creating TeaVM projects.Read 8 Oct 2026 · teavm.org
Compatibility limits
TeaVM restricts APIs including reflection, resources, class loaders, and JNI, and says code may need to be rewritten to fit its constraints.Read 8 Oct 2026 · teavm.org
Constraints
TeaVM restricts Java APIs including reflection, resources, class loaders, and JNI, and its Java class library implementation covers only a limited subset.Read 8 Oct 2026 · teavm.org
Contact
The official site lists [email protected] as a contact email.Read 8 Oct 2026 · teavm.org
Debugging
TeaVM produces source maps, and its IDEA plugin supports debugging code from the IDE.Read 8 Oct 2026 · teavm.org
Interop
TeaVM provides a JavaScript interop API, and the Gradle guide shows an optional dependency with browser API wrappers.Read 8 Oct 2026 · teavm.org
Java library coverage
TeaVM implements only a limited subset of the Java class library, so use of unsupported APIs can cause compilation errors.Read 8 Oct 2026 · teavm.org
Language inputs
It works from compiled class or JAR files and can compile code produced by Java, Kotlin, and Scala compilers.Read 8 Oct 2026 · teavm.org
Language support
It can compile bytecode produced by Java, Kotlin, and Scala compilers.Read 8 Oct 2026 · teavm.org
Optimization
TeaVM documents dead code elimination, devirtualization, and method renaming among its optimizer capabilities.Read 8 Oct 2026 · teavm.org
Preview builds
Development builds are available from TeaVM's repository, with instructions for Maven, Gradle, and the IDEA plugin.Read 8 Oct 2026 · teavm.org
Threads
TeaVM can transform methods to continuation-passing style to emulate logical threads as green threads.Read 8 Oct 2026 · teavm.org
Web focus
TeaVM is primarily for web development, including building a front end alongside a Java backend or reusing some backend code in the front end.Read 8 Oct 2026 · teavm.org
Who it is for
TeaVM describes itself as suited to Java, Kotlin, or Scala developers building a web front end or reusing backend code in a front end.Read 8 Oct 2026 · teavm.org

Where Specifiction places it

Alternatives to TeaVMAll alternatives →