You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2018/09/08 21:23:34 UTC

[sling-site] branch master updated: Add note that for now --add-modules is needed to launch Sling.

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 5cced9f  Add note that for now --add-modules is needed to launch Sling.
5cced9f is described below

commit 5cced9f21b021f8eb133404caf8171c2e880dded
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Sat Sep 8 23:23:17 2018 +0200

    Add note that for now --add-modules is needed to launch Sling.
---
 src/main/jbake/content/documentation/getting-started.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/main/jbake/content/documentation/getting-started.md b/src/main/jbake/content/documentation/getting-started.md
index 51f2de4..44c6996 100644
--- a/src/main/jbake/content/documentation/getting-started.md
+++ b/src/main/jbake/content/documentation/getting-started.md
@@ -38,6 +38,13 @@ Another option is to download the latest released Apache Sling standalone applic
 Starting the Sling application creates the Sling directory name *sling* in the same directory
  from where you started the above command.
 
+### Java 9 and newer
+
+For Sling 10 it is necessary to add the `java.see.module` manually, so the command line invocation
+becomes
+
+    java --add-modules java.se.ee -jar org.apache.sling.starter-${sling_releaseVersion}.jar
+
 ## Sling Karaf
 
 You can run Sling on [Karaf](https://karaf.apache.org) as well by either starting a [Sling Karaf Distribution](karaf.html#sling-karaf-distribution) or installing [Sling's Karaf Features](karaf.html#sling-karaf-features) into a running Karaf Container.