-1

I want to use a java library in a javascript written in ES6. I tried j2v8 and nashorn, but they are not supporting ES6 features. Is there any other way to do the same?

Megha Rao
  • 31
  • 6

1 Answers1

1

The most recent builds of J2V8 (4.7.1) is built with V8 5.4.500.45. I'm not sure what ES 6 features V8 5.4.500.45, but J2V8 will be "bug for bug" / "feature for feature" compatible with that.

J2V8 is just a wrapper around V8, so it only supports as much or as little as V8 does.

irbull
  • 2,490
  • 2
  • 20
  • 28