Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9545

Distribution Core bundle with Java 11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • Content Distribution Core 0.3.4, Content Distribution Core 0.4.2
    • None
    • Content Distribution
    • None

    Description

      Apache Sling Distribution Core (org.apache.sling.distribution.core) bundle does not activate on Sling12 using Java 11

      https://github.com/apache/sling-org-apache-sling-distribution-core

      mvn clean install results in the error below

      [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.distribution.core: 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 /Users/cmrockwe/Documents/a3workspace/sling-org-apache-sling-distribution-core/target/antrun/build-main.xml

      Similar issue as described here
      https://stackoverflow.com/questions/43067454/ant-running-from-maven-antrun-plugin-cant-find-scripting-engine-on-java-9

      Attachments

        1. Screen Shot 2020-06-24 at 8.09.38 AM.png
          1.10 MB
          Cris Rockwell
        2. Screen Shot 2020-06-24 at 8.38.26 AM.png
          1008 kB
          Cris Rockwell

        Activity

          People

            Unassigned Unassigned
            cris_rockwell Cris Rockwell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: