Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 665 Bytes

README.md

File metadata and controls

34 lines (30 loc) · 665 Bytes

Cabin VM

A toy JVM written in C.

Development environment

  • Win10 64 bit
  • MinGW64
  • g++

Dependence

  • openjdk16
  • zlib 1.2.11
  • minizip 1.2.0
  • libffi 3.3

Features

  • Java arithmetic, flow control, object-oriented programming(virtual method, inherit, etc.)
  • String
  • Array
  • Exception
  • Lambda
  • Multi-thread
  • Garbage collection

Run

Ensure you already set JAVA_HOME environment variable.

One command-line option:

  • -cp path: set class path.
C:\>cabin HelloWorld -cp D:\Code\cabin\test-classes\out\production\test-classes

or, using CLASS_PATH environment variable.

C:\>cabin HelloWorld