-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nashorn engine is remove from Java 15. #14
Comments
I had a similar case, I wanted to use this lib on Android and nashorn engine was not found. I created a new class and call the rhino engine instead. Take a look at this example, so you could create your own: `
} |
You can include it via maven: <dependency>
<groupId>org.openjdk.nashorn</groupId>
<artifactId>nashorn-core</artifactId>
<version>15.4</version>
</dependency> |
This was referenced May 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nashorn engine is remove from Java 15. It is hard code in WorkflowModule class which will cause issues if someone will use this library with Java 15 or above.
bind(ScriptEngine.class).toInstance(new ScriptEngineManager().getEngineByName("nashorn"));
The text was updated successfully, but these errors were encountered: