Skip to content

AmazingRise/rise-jvm

Repository files navigation

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

About

Rise JVM is a minimal Java VM based on WASM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published