Details
-
Bug
-
Resolution: Fixed
-
Major
-
9.11.4, 10.3
-
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
- blocks
-
XWIKI-15263 Warn the user if he's using Java 9+ since we currently don't support it officially and there are problems remaining
- Closed
- is duplicated by
-
XWIKI-14772 start_xwiki.sh doesn't work with Java 9 on macOS
- Closed
-
XWIKI-15272 XWiki standalone does not stop with Java 9
- Closed
- relates to
-
XWIKI-14772 start_xwiki.sh doesn't work with Java 9 on macOS
- Closed
-
XWIKI-18710 Failing to run functional tests on java 14
- Closed
-
XWIKI-15273 Improve the java version check in the stop_xwiki.sh script
- Closed