Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15258

XWiki standalone does not start with Java 9

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 10.4-rc-1
    • 9.11.4, 10.3
    • Jetty resources (Tool)
    • OSX
      Java 9
    • Easy
    • N/A
    • N/A

    Description

      start_xwiki.sh script (OSX) stops XWiki from starting if using Java 9.

       

      Reason

      In start_xwiki.sh :

      # Check version of Java
      JAVA_VERSION=$(java -version 2>&1 | grep -i version | sed 's/.*version ".*\.\(.$
      if [ "$JAVA_VERSION" -lt 8 ]; then
        echo This version of XWiki requires Java 8 or greater.
      #  exit 0
      fi
      

       

      Workaround

      Edit the script :

      Edit line:

      exit 0
      

      To become:

      # exit 0
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              Patrick Joalland Patrick Joalland
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: