Skip to content
ํ”„๋กœ์ ํŠธ

์†Œ๊ฐœ

๐ŸŒŸThis is a pure C++ implementation of Java Virtual Machine (only Java 8 is supported). Inspired by Hotspot In Action.

ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ๋ฐ ๋Ÿฐํƒ€์ž„

์ด ์ˆ˜์น˜๋ฅผ ์ธก์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

What you can do

  • JAR Class Loading Support (libzip needed)
  • Full OracleJDK/OpenJDK compatibility
  • Copying Garbage Collector

์ธก์ •๋œ ์Šคํƒ€ ์ฆ๊ฐ€

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
๊ธฐ๋ก ์ˆ˜์ง‘ ์ค‘

์„œ๋กœ ๊ฒน์น˜๋Š” ๊ธฐ๊ฐ„์˜ ์ˆœ์ฆ๊ฐ€๋Ÿ‰์ด๋ฉฐ ์ผ๋ณ„ ํ•ฉ๊ณ„๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ์ธก์ •๊ฐ’์ด ์—†์œผ๋ฉด ๋น„์›Œ ๋‘ก๋‹ˆ๋‹ค. ์Šคํƒ€๋Š” ๊ด€์‹ฌ๋„๋ฅผ ๋‚˜ํƒ€๋‚ด๋ฉฐ ํ’ˆ์งˆ์„ ๋ณด์žฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

README.md

Original

KiVM

Build Status GitHub top language license

Kiva's Java Virtual Machine.

Features

  • JNI Support
  • JAR Class Loading Support (libzip needed)
  • Full OracleJDK/OpenJDK compatibility
  • Copying Garbage Collector

Build

  1. Requirements

    • Linux, macOS, or Windows(untested) .
    • JDK (OpenJDK or OracleJDK) (>= 8)
    • CMake (>= 3.2)
    • libzip (>= 1.5.1) (to support JAR Class Loading)
  2. Build instructions

    • Clone this repo.
    • cd into your directory that contains KiVM source code.
    • Type cmake . && make in your terminal app.
    • Enjoy it!

Usage

Usage:
        java [-?] [-v] [-cp <path>] [-classpath <path>] <class-name> [<args>]...

Options:
        -?, -help           show help
        -v, -version        show version
        -cp <path>          class search path
        -classpath <path>   same as -cp
        <class-name>        name of the class to run

Credit

Acknowledge

We would like to thank JetBrains for sharing free open-source licences of amazing tools such as CLion.

See Also

๊ด€๋ จ ํ”„๋กœ์ ํŠธ ์‚ดํŽด๋ณด๊ธฐ

๋ถˆ๋Ÿฌ์˜ค๋Š” ์ค‘โ€ฆ