You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From Java 9 onward JDK_JAVA_OPTIONS is the official environment variable for setting options for the Java Virtual Machine. JAVA_OPTS although common is not the official environment variable and probably should not be relied upon.
Update the Clojure.org website to use JDK_JAVA_OPTIONS rather than JAVA_OPTS, possibly mentioning JAVA_OPTS as a common but deprecated environment variable
The following use of JAVA_OPTS was found in the content of the site
content/releases/tools.adoc:28:
Add support to include the common JAVA_OPTS env var as JVM properties in user program execution
content/reference/deps_and_cli.adoc:469:
If JVM options are provided in the JAVA_OPTS environment variable, these will be included first on the command line (note: these options are not part of the command cache and may vary between executions).
content/reference/deps_and_cli.adoc:1144:
JAVA_OPTS - JVM options to be included in the user command being executed - not cached. Included before any -J command line parameters and any :jvm-opts
The text was updated successfully, but these errors were encountered:
JAVA_OPTS is intentionally and explicitly being supported here as a way to pass JVM options only to the user process invoked by the cli. This is a feature of the Clojure CLI and is jvm version independent. It is not deprecated.
The other env var is a jvm feature of 9+ and will affect both the class path generating process and the user process. It also prints stuff to the output stream which may not be desirable.
From Java 9 onward
JDK_JAVA_OPTIONS
is the official environment variable for setting options for the Java Virtual Machine.JAVA_OPTS
although common is not the official environment variable and probably should not be relied upon.Update the Clojure.org website to use
JDK_JAVA_OPTIONS
rather thanJAVA_OPTS
, possibly mentioningJAVA_OPTS
as a common but deprecated environment variableThe following use of
JAVA_OPTS
was found in the content of the sitecontent/releases/tools.adoc
:28:content/reference/deps_and_cli.adoc
:469:If JVM options are provided in the
JAVA_OPTS
environment variable, these will be included first on the command line (note: these options are not part of the command cache and may vary between executions).content/reference/deps_and_cli.adoc
:1144:JAVA_OPTS
- JVM options to be included in the user command being executed - not cached. Included before any-J
command line parameters and any:jvm-opts
The text was updated successfully, but these errors were encountered: