From 1f8fc2b73e991045e9eaf754b4759feabab7906c Mon Sep 17 00:00:00 2001 From: Pavel Constantinov Date: Tue, 29 Sep 2026 16:05:23 +0200 Subject: [PATCH 1/2] add an info block to let people know of the changes in the default behaviour of mxbuild --- content/en/docs/refguide/general/mxbuild.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/en/docs/refguide/general/mxbuild.md b/content/en/docs/refguide/general/mxbuild.md index 3c682417b98..252ed0225be 100644 --- a/content/en/docs/refguide/general/mxbuild.md +++ b/content/en/docs/refguide/general/mxbuild.md @@ -57,6 +57,12 @@ You can also run MxBuild under Linux using the following command line format: `mxbuild --java-home="JDKDirectory" --java-exe-path="javaExecutable" [options] projectFile` +{{% alert color="info" %}} +Starting with StudioPro 11.15.0 / 11.12.6 mxbuild will pick up the JavaHome path from the JAVA_HOME environment variable. +Also, now you only have to define JavaHome, the executable path will be derived based on it. +If you prefer to set either manually via a feature flag, the option is still there. +{{% /alert %}} + After creating the deployment package, the MxBuild process quits. ### General Command-Line Options From 7eb6f3c826b37f2b15ed4fa705f37a8b6b630bd1 Mon Sep 17 00:00:00 2001 From: Quinn Tracy <142489060+quinntracy@users.noreply.github.com> Date: Wed, 30 Sep 2026 11:51:53 +0200 Subject: [PATCH 2/2] Review --- content/en/docs/refguide/general/mxbuild.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/refguide/general/mxbuild.md b/content/en/docs/refguide/general/mxbuild.md index 252ed0225be..29fefdc8a5a 100644 --- a/content/en/docs/refguide/general/mxbuild.md +++ b/content/en/docs/refguide/general/mxbuild.md @@ -58,9 +58,9 @@ You can also run MxBuild under Linux using the following command line format: `mxbuild --java-home="JDKDirectory" --java-exe-path="javaExecutable" [options] projectFile` {{% alert color="info" %}} -Starting with StudioPro 11.15.0 / 11.12.6 mxbuild will pick up the JavaHome path from the JAVA_HOME environment variable. -Also, now you only have to define JavaHome, the executable path will be derived based on it. -If you prefer to set either manually via a feature flag, the option is still there. +As of Studio Pro 11.15.0, MxBuild reads the Java home directory from the `JAVA_HOME` environment variable if `--java-home` is not specified. The Java executable path is also inferred from the Java home directory if `--java-exe-path` is not specified. + +You can still set either value by passing `--java-home` or `--java-exe-path` on the command line. {{% /alert %}} After creating the deployment package, the MxBuild process quits.