Skip to content

Commit

Permalink
Also reword //JAVA_OPTS to //JAVA_OPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
someth2say authored and quintesse committed Jul 12, 2022
1 parent 4fe2268 commit 5b5e364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/running.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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=<your options>` instead.
If you want further control use `//JAVAC_OPTIONS -XX:StartFlightRecording=<your options>` 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]
----
Expand Down

0 comments on commit 5b5e364

Please sign in to comment.