Re: GraalJS with Karaf 4.3

2021-12-15 Thread Mark Derricutt
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

Re: GraalJS with Karaf 4.3

2021-12-15 Thread Jakub Herkel
Maybe you can try mozilla rhino. Jakub On Wed, Dec 15, 2021, 09:39 Jérémie 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

Re: Jaxb in Karaf environment problem

2021-12-15 Thread Paul Fraser
Thanks, Richard, All it needs is a gentle hint and someone taking the time to provide the hint. Paul Fraser On 15/12/21 11:13 pm, Richard Hierlmeier wrote: How do you create the JAXBContext? You have to use the newInstance-method with the class loader that has access to the ObjectFactory

Re: Jaxb in Karaf environment problem

2021-12-15 Thread Richard Hierlmeier
How do you create the JAXBContext? You have to use the newInstance-method with the class loader that has access to the ObjectFactory class Regards Richard Am Mi., 15. Dez. 2021 um 11:09 Uhr schrieb Paul Fraser : > Hi, > > Have created xsd file from xml file and used xjc to generate the

Jaxb in Karaf environment problem

2021-12-15 Thread Paul Fraser
Hi, Have created xsd file from xml file and used xjc to generate the java classes. When run, the system reports "no ObjectFactory class file found" but it exists with the generated java classes produced by xjc. Is there something about Karaf or Osgi with Jaxb that causes this problem?

GraalJS with Karaf 4.3

2021-12-15 Thread Jérémie
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