Rise JVM is a minimal Java VM based on WASM. No server needed.
This is only a frontend of Rise JVM Core.
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.
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.