J2V8 icon indicating copy to clipboard operation
J2V8 copied to clipboard

Upgrade to newer V8 and NodeJS

Open adrian-tarau opened this issue 4 years ago • 4 comments

Are there any plans to upgrade to a newer V8 and most important NodeJS?. NodeJS production is at 12.X and most JavaScript libraries do require NodeJS > 10.X.

Thank you.

adrian-tarau avatar Sep 28 '20 15:09 adrian-tarau

👍 Curious as well, I'd love to use this project if it's still being kept up

josiahbryan avatar Oct 14 '20 14:10 josiahbryan

Same here, we had plans to use J2V8 with node-red, but node-red requires node.js v8 or superior and recommends v12.

We could help if some instructions are shared.

carlosprados avatar Nov 03 '20 13:11 carlosprados

Have you had a look at, or made any progress on, this since November?

This came up in discussion on the "descope project" issue #441 (see also #469 and #477) about a year earlier, but Node support has since been removed in the shift to a new v8 base version.

I too was interested in using j2v8 with Node-RED, and I did get an earlier version running back in 2018 (see #437 - some components such as mqtt caused a JVM crash).

We've been looking for a solution, for a while, to embed script execution within a JVM (integrating better with our existing code), and Node-RED has the added bonus of a user interface and a big community. But the whole concept of scripting engines within regular JVMs seems to have fallen out of favour and $WORK is still too resource constrained to be able to maintain one by ourselves at present.

jamesrgrinter avatar Feb 16 '21 12:02 jamesrgrinter

For anyone looking for a Linux/Windows alternative, I'd suggest taking a look at https://github.com/caoccao/Javet

newk5 avatar Apr 20 '21 03:04 newk5