Skip to content

Files

Latest commit

 

History

History
66 lines (43 loc) · 1.38 KB

README.md

File metadata and controls

66 lines (43 loc) · 1.38 KB

Rise JVM

Go License: GPL v3

Rise JVM is a minimal Java VM based on WASM. No server needed.

✨Have a try

Live Demo

About Rise JVM Core

This is only a frontend of Rise JVM Core.

Compiling

Automatically via GNU make:

make all

For TinyGo users:

tinygo build -o main.wasm -target wasm ./main.go
cp $(shell tinygo env TINYGOROOT)/targets/wasm_exec.js .

For Go users:

GOARCH=wasm GOOS=js go build -o main.wasm main.go
cp "$(shell go env GOROOT)/misc/wasm/wasm_exec.js" .

We recommend TinyGo instead of Go, which results in a smaller binary size.

Features

These features are tested and work well:

  • Simple Integer Arithmetic
  • Calling functions
  • System.out.println
  • Creating Objects
  • Looping

Not working yet:

  • Polymorphism
  • Standard Input

You can find implemented opcodes here.

Acknowledgement

Pico.css