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

XWiki standalone does not start with Java 9

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.11.4, 10.3
    • Fix Version/s: 10.4-rc-1
    • Component/s: Jetty resources (Tool)
    • Labels:
    • Environment:
      OSX
      Java 9
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: