Yet another Java virtual machine implementation, written in pure Python. This repository is almost a line-by-line translation of Rava, which is a JVM written in pure Ruby.
This repository is intended mainly for study purposes. It is not meant as a production-ready JVM.
- Download jdk
- unjar
jdk/jre/lib/rt.jar
- Place
java/lang/*
in working directory - Compile your program with
javac
- Finally,
pyjvm [java class name] [arg 1] [arg 2] …