Hi Stefan, You need to run this on Java 8, unfortunately.
Cheers, Radu > On 2 Jun 2021, at 19:01, Stefan Seifert <[email protected]> > wrote: > > i'm not able to run the unit tests locally (tested on windows and in a unix > VM) - i always get the same error as on Jenkins: > https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-java/job/master/52/console > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-antrun-plugin:1.8:run > (set-bundle-required-execution-environment) on project > org.apache.sling.scripting.java: An Ant BuildException has occured: Unable to > create javax script engine for javascript > [ERROR] around Ant part ...<script language="javascript">var System = > java.lang.System;... @ 4:33 in > D:\Develop\OpenSource\sling-git\sling-org-apache-sling-scripting-java\target\antrun\build-main.xml > > > stefan >
