r/java • • Feb 25 '26

CFV: New Project: Detroit

https://mail.openjdk.org/pipermail/announce/2026-February/000364.html
17 Upvotes

12 comments sorted by

View all comments

Show parent comment

4

u/repeating_bears Feb 26 '26

From the user perspective, that's just an implementation detail. The goal is to execute JavaScript with some Java interop which both Nashorn and GraalJS do.

2

u/thomaswue Feb 26 '26

There is btw already since a very long time Project J2V8 (https://github.com/eclipsesource/J2V8) for developers who prefer to embed another full-fledged virtual machine instead of leveraging HotSpot for executing the JavaScript code. This approach however has severe downsides, which is why Graal.JS (https://www.graalvm.org/javascript/) has become the most popular way to embed JavaScript into Java applications.