From version 113.1
edited by Thomas Mortagne
on 2017/09/26
To version 114.1
edited by Thomas Mortagne
on 2017/09/26
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -62,11 +62,13 @@
62 62  
63 63  = Java 8 =
64 64  
65 +XWiki require Java 8 since 8.1, it will be automatically installed as dependency on recent distributions.
66 +
65 65  {{error}}
66 66  Some distributions seems to have issues with the Java version selected by Tomcat so until this is fixed on Ubuntu/Debian or Tomcat side it's usually safer to start by installing Java first before installing XWiki.
67 67  {{/error}}
68 68  
69 -On most distributions it means using:
71 +On most recent distributions it means using:
70 70  
71 71  {{code language="bash"}}
72 72  sudo apt-get install openjdk-8-jre-headless
... ... @@ -74,7 +74,7 @@
74 74  
75 75  You can also use Web Upd8 repository if you want **Oracle Java** version. See documentation for [[Ubuntu>>http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html]] or [[Debian>>http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html]].
76 76  
77 -XWiki require Java 8 since 8.1, it will be automatically installed as dependency on recent distributions. Problem is that Ubuntu and Debian did not bothered put OpenJDK on older but still supported distributions default repositories (for example Ubuntu 14.04 or Debian Wheezy/Jessie). For those you will have to either install Java 8 yourself or make sure there is some repository with it so that openjdk is installed automatically with XWiki.
79 +For some older distributions the problem is that Ubuntu and Debian did not bothered put OpenJDK 8 on older but still supported distributions default repositories (for example Ubuntu 14.04 or Debian Wheezy/Jessie). For those you will have to make sure there is some repository with it so that OpenJDK is installed automatically with XWiki.
78 78  
79 79  Also if you have several versions of Java installed you might need to explicitly tell Tomcat which one to use after the install. See [[Tomcat Usability section>>||anchor="HJavaVersion"]].
80 80  

Get Connected