https://github.com/sysprog21/pitifulvm
A shabby implementation of Java virtual machine in C
https://github.com/sysprog21/pitifulvm
java java-virtual-machine jvm
Last synced: 8 months ago
JSON representation
A shabby implementation of Java virtual machine in C
- Host: GitHub
- URL: https://github.com/sysprog21/pitifulvm
- Owner: sysprog21
- License: bsd-2-clause
- Created: 2020-08-17T10:11:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-06T13:14:29.000Z (over 3 years ago)
- Last Synced: 2025-05-08T23:53:47.021Z (8 months ago)
- Topics: java, java-virtual-machine, jvm
- Language: C
- Homepage:
- Size: 119 KB
- Stars: 142
- Watchers: 7
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PitifulVM
A shabby implementation of Java virtual machine in C.
## Prerequisites
Oracle Java SE Development Kit or OpenJDK is required to build and run test suite.
## Running the tests
You can run the tests with `make check`.
## Running the VM
You need to specify the full filename (including `.class` suffix) to the executable. For example:
```shell
$ javac tests/Factorial.java
$ ./jvm tests/Factorial.class
```
## License
`PitifulVM` is released under the BSD 2 clause license. Use of this source code
is governed by a BSD-style license that can be found in the LICENSE file.