Java Virtual Machine written in Typescript and executed with BunJS.
- Printing
- Arithmetic
- Polymorphism
- JDK base classes (auto-Boxing)
- Number
- Integer
- Float
- Long
- Double
- Collections
- ArrayList
- HashMap
- HashSet
- LinkedList
- String manipulation
- StringBuilder
- StringBuffer
- Number
- Multithreading
- Thread
- Atomics
- AtomicInteger
- JDK >= 19.0.2
javac
javap
bun install
./build_class.sh
Tests:
bun test
bun run index.ts <ClassName>
https://docs.oracle.com/en/java/javase/19/docs/api/index.html
https://docs.oracle.com/javase/specs/jvms/se19/html/jvms-4.html https://docs.oracle.com/javase/specs/jvms/se19/html/jvms-5.html https://docs.oracle.com/javase/specs/jvms/se19/html/jvms-6.html