From 6632ede8c05872f54d6ddc09649811c6704c73d6 Mon Sep 17 00:00:00 2001 From: "Hanson, Tristan" Date: Fri, 20 Oct 2017 22:11:18 -0500 Subject: [PATCH] Adding Note in Documentation for Spring-cli Adding Note to instruct user to ensure they are properly setting JAVA_OPTS environment variable to ensure values are properly passed to CLI process fixes gh-9779 --- .../spring-boot-docs/src/main/asciidoc/getting-started.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc index a410f95c5a0a..9f182febcf68 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc @@ -276,6 +276,7 @@ instructions from the unpacked archive. In summary: there is a `spring` script can use `java -jar` with the `.jar` file (the script helps you to be sure that the classpath is set correctly). +NOTE: when setting `JAVA_OPTS` on windows be sure to quote the entire instruction such as `set "JAVA_OPTS=-Xms256m -Xmx2048m"` this will ensure the values are passed properly to the process. [[getting-started-sdkman-cli-installation]]