There is an extracted/standalone version at: https://github.com/openjdk/nashorn
that’s still being worked on, and there is a version available in Maven Central, so maybe that might help you? Mark -- "Great artists are extremely selfish and arrogant things" — Steven Wilson, Porcupine Tree On 16/12/2021 at 8:58:09 AM, Jakub Herkel <[email protected]> wrote: > Maybe you can try mozilla rhino. > > Jakub > > On Wed, Dec 15, 2021, 09:39 Jérémie <[email protected]> wrote: > >> Hello, >> >> I am upgrading an application to jdk17, with Karaf 4.3. This application >> was using camunda and nashorn to execute js, but this lib has been removed >> on jdk17. >> >> I am looking for an example of the integration of GraalJS in Karaf. I >> didn't manage to find any resources of Graal-js in an osgi container and >> the jar doesn't seem to be osgi compatible. >> Does anyone have a link/docs to help me with this? >> >> If it's not possible today, I am looking for a way to embedded the >> nashorn library too ^^ >> >> Regards, >> Jérémie >> >
