TeaVM: Build Fast, Modern Web Apps in Java

A powerful tool for Java developers who want to develop web applications without the difficulties of a JavaScript development stack.

Learn More

What is TeaVM?

TeaVM is an ahead-of-time compiler for Java bytecode that emits JavaScript and WebAssembly that runs in a browser. Its close relative is the well-known GWT. The main difference is that TeaVM does not require source code, only compiled class files. Moreover, the source code is not required to be Java, so TeaVM successfully compiles Kotlin and Scala.


Easy to use

Create a new project from a Maven archetype and develop with pleasure. You don't need a complicated setup with npm, Webpack, UglifyJS, Babel, etc. TeaVM does everything for you.

A powerful web framework included

With TeaVM, you can use Flavour, a framework for creating single-page web applications in Java, Kotlin or Scala. The experience is quite close to Angular, but the framework is based on Java idioms, not JavaScript idioms.

Efficient

TeaVM is quite efficient, you won't wait for hours while it's compiling. Also, TeaVM produces fast, small JavaScript code for web apps that start quickly, even on mobile devices.