google/j2cl
Java to Closure JavaScript transpiler observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 99
- Release rhythm 53
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 140.5
- age_days: 3361
- days_rel: 153
- days_push: 7
- n_releases_24m: 3
Adoption not part of the score
1376 stars · 160 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
J2CL is a transpiler from Google that converts Java source code into Closure-style JavaScript, tightly integrated with Closure Compiler for optimization. It also supports compiling Java to WebAssembly and is the technology behind Google's GSuite apps like Gmail and Docs.
Use cases
- reuse existing Java libraries in a JavaScript web application
- compile Java code to JavaScript for the browser
- build web apps with Java on the frontend
- transpile Java to WebAssembly
- share business logic between Java backend and web frontend
- migrate a GWT application to modern tooling
When to choose
- you have substantial Java code or Java libraries (Guava, Dagger) you want to run in the browser
- you want strong static typing and cross-language type checks in frontend code
- you already use Bazel and Closure Compiler tooling
- you want to target WebAssembly from Java
When to avoid
- you are starting a greenfield frontend project with no Java investment
- you need full Java runtime semantics or reflection-heavy libraries
- you want a simple build without Bazel
- you need stable, finalized Wasm support
Facets
library · maturity active
compiler build-tool developer-tools compilers web-development programming-languages developer-tools jvm cross-platform transpiler java-to-javascript closure-compiler gwt wasm bazel jsinterop web-server
1 source
- readme: https://github.com/google/j2cl · fetched 2026-08-28 · 71fb18638d36
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/j2cl | main | 83 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem