From 5b5e3641de5cd77e4a1020949602e68a9d093062 Mon Sep 17 00:00:00 2001 From: Jordi Sola Date: Tue, 12 Jul 2022 09:34:27 +0200 Subject: [PATCH] Also reword //JAVA_OPTS to //JAVA_OPTIONS --- docs/modules/ROOT/pages/running.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/pages/running.adoc b/docs/modules/ROOT/pages/running.adoc index beee9bef6..171c476c9 100644 --- a/docs/modules/ROOT/pages/running.adoc +++ b/docs/modules/ROOT/pages/running.adoc @@ -37,12 +37,12 @@ Then you can use tools like `jvisualvm` or `jmc` to explore the data. If you want to tweak the configuration you can pass flight recorder options, like `jbang --jfr=filename=\{basename}.jfr,maxage=24h` where `\{basename}` will be replaced by the filename and then added `maxage=24h` to flight recording options. -If you want further control use `//JAVAC_OPTS -XX:StartFlightRecording=` instead. +If you want further control use `//JAVAC_OPTIONS -XX:StartFlightRecording=` instead. == `java` and `javac` Options If you want to tweak memory settings or enable preview features you can setup the necessary options using -`//JAVA_OPTS` and `//JAVAC_OPTIONS` as in the following example using Java 14 experimental `record` feature: +`//JAVA_OPTIONS` and `//JAVAC_OPTIONS` as in the following example using Java 14 experimental `record` feature: [source, java] ----