Awesome Open Source
Awesome Open Source


Maven Central Discord Donate

Linux Build Android Build

Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java.

If you like my work, please Star this project. And, you may follow me @sjtucaocao, or visit And the official support channel is at discord.

If you use Mac OS (x86_64), please be aware that the Mac OS (x86_64) build will discontinue anytime because my MacBook Air mid-2012 will be soon deprecated by new version of V8. Please donate to support me purchasing a new Mac OS (x86_64) device. Or, if you have a retired Mac OS (x86_64) device and are fine with mailing it to me, that will also be great. Thank you for supporting Javet.

If you use Mac OS (arm64), please thank @longwa for building the M1 version. However, that's a temporary solution because I don't have any Mac OS (arm64) device, so there is no support. Please donate to support me purchasing a new Mac OS (arm64) device.

Major Features

  • Linux (x86_64) + Mac OS (x86_64, arm64) + Windows (x86_64)
  • Android (arm, arm64, x86 and x86_64)
  • Node.js v16.13.1 + V8 v9.7.106.18
  • Dynamic switch between Node.js and V8 mode (Which mode do you prefer?)
  • Polyfill V8 mode with Javenode
  • V8 API exposure in JVM
  • JavaScript and Java interop
  • Native BigInt and Date
  • Javet engine pool
  • Easy spring integration
  • Live debug with Chrome DevTools

Quick Start



<!-- Linux and Windows (x86_64) -->

<!-- Mac OS (x86_64 and arm64) -->

Gradle Kotlin DSL

implementation("com.caoccao.javet:javet:1.0.7") // Linux and Windows (x86_64)
implementation("com.caoccao.javet:javet-macos:1.0.7") // Mac OS (x86_64 and arm64)
implementation("com.caoccao.javet:javet-android:1.0.7") // Android (arm, arm64, x86 and x86_64)

Gradle Groovy DSL

implementation 'com.caoccao.javet:javet:1.0.7' // Linux and Windows (x86_64)
implementation 'com.caoccao.javet:javet-macos:1.0.7' // Mac OS (x86_64 and arm64)
implementation 'com.caoccao.javet:javet-android:1.0.7' // Android (arm, arm64, x86 and x86_64)

Hello Javet

// Node.js Mode
try (V8Runtime v8Runtime = V8Host.getNodeInstance().createV8Runtime()) {
    System.out.println(v8Runtime.getExecutor("'Hello Javet'").executeString());

// V8 Mode
try (V8Runtime v8Runtime = V8Host.getV8Instance().createV8Runtime()) {
    System.out.println(v8Runtime.getExecutor("'Hello Javet'").executeString());




Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,534,674
Java (697,184
Nodejs (55,235
Android (41,626
Linux (17,038
Windows (10,088
Macos (9,186
Engine (1,553
V8 (180
V8 Javascript Engine (42
Java V8 (2
Related Projects