A Java Virtual Machine written in Kotlin.
jvm.kotlin is a toy JVM programmed in Kotlin. The main purpose of this project is learning Kotlin and JVM.
- macOS Monterey 12.2.1
- Java 1.8.0_231
- Kotlin 1.6.0
- IntelliJ IDEA 2021.2.3 (Community Edition)
git clone https://github.com/QinGeneral/jvm.kotlin.git
cd jvm.kotlin
./gradlew installDist
build/install/JVMByKotlin/bin/JVMByKotlin -p "build/classes/java/main/" -c "Main" --Xjre ""
or
Run the unit test in Class CmdTest
.
中文版请点击这里。