# zxh0/jvm.go

A toy JVM written in Go

Repository: https://github.com/zxh0/jvm.go
Canonical: https://ross.abutalabs.com/products/jvmgo
Language: Go
License: MIT
License Family: permissive
Topics: jvm, golang
Last push: 2019-12-04T14:16:37+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4256, "days_push": 2464, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3600, forks 465 (observed 2026-08-28T04:08:11.418975+00:00)

## What it is
jvm.go is a toy Java Virtual Machine implemented in Go, focused on code readability as a learning project for both Go and the JVM. It implements the core JVM and relies on OpenJDK's rt.jar as its class library, using Go's garbage collector.

## Use cases
- learn how a JVM works by reading a small readable implementation
- run simple Java programs like HelloWorld on a Go-based JVM
- study Java bytecode interpretation and class loading
- experiment with JVM internals without touching a production JVM
- learn Go by reading a systems-level project

## When to choose
- you want a readable educational JVM implementation to study
- you need to run only simple Java programs for experimentation
- you are learning Go and want a nontrivial codebase to read

## When to avoid
- you need a production-grade JVM with full Java SE support
- you need performance, complete garbage collection control, or modern Java features
- you need an actively maintained project - the last release was in 2019

## Facets
- artifact type: application
- maturity: maintenance
- function: interpreter, compiler, developer-tools
- domain: programming-languages, compilers, developer-tools, education
- platform: windows, go
- tags: jvm, java-runtime, toy-project, learning-project, bytecode-interpreter, macos, linux

## Member repositories
- zxh0/jvm.go (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:11.418975+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:33:45.750501+00:00, confidence not recorded.
  - readme: https://github.com/zxh0/jvm.go (fetched 2026-08-28T04:08:11.418975+00:00, sha 69b4999b306b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
