This is an automated email from the ASF dual-hosted git repository.
normanbreau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git
The following commit(s) were added to refs/heads/master by this push:
new 165b4a8ee8 docs(android): Mention CORDOVA_JAVA_HOME (#1293)
165b4a8ee8 is described below
commit 165b4a8ee81dfec8c81aee569b10ce19da40f9ed
Author: Norman Breau <[email protected]>
AuthorDate: Mon Apr 24 18:30:55 2023 -0300
docs(android): Mention CORDOVA_JAVA_HOME (#1293)
---
www/docs/en/11.x/guide/platforms/android/index.md | 2 +-
www/docs/en/dev/guide/platforms/android/index.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/docs/en/11.x/guide/platforms/android/index.md
b/www/docs/en/11.x/guide/platforms/android/index.md
index 7414f3e9f8..8134459794 100644
--- a/www/docs/en/11.x/guide/platforms/android/index.md
+++ b/www/docs/en/11.x/guide/platforms/android/index.md
@@ -64,7 +64,7 @@ If you are using `cordova-android` 10.0.0 or greater, install
the [Java Developm
If you are using any version below `cordova-android` 10.0.0, install the [Java
Development Kit (JDK)
8](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html).
-The `JAVA_HOME` environment variable must be set according to your JDK
installation path when installing on a Windows environment. See the [Setting
Environment Variables](#setting-environment-variables) section on how to set up
environment variables.
+The `JAVA_HOME` environment variable must be set according to your JDK
installation path. See the [Setting Environment
Variables](#setting-environment-variables) section on how to set up environment
variables. Alternatively as of `cordova-android` 10.0.0 or greater,
`CORDOVA_JAVA_HOME` can be set in place of `JAVA_HOME`, allowing a JDK install
to be used specifically for Cordova development.
### Gradle
diff --git a/www/docs/en/dev/guide/platforms/android/index.md
b/www/docs/en/dev/guide/platforms/android/index.md
index 7414f3e9f8..8134459794 100644
--- a/www/docs/en/dev/guide/platforms/android/index.md
+++ b/www/docs/en/dev/guide/platforms/android/index.md
@@ -64,7 +64,7 @@ If you are using `cordova-android` 10.0.0 or greater, install
the [Java Developm
If you are using any version below `cordova-android` 10.0.0, install the [Java
Development Kit (JDK)
8](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html).
-The `JAVA_HOME` environment variable must be set according to your JDK
installation path when installing on a Windows environment. See the [Setting
Environment Variables](#setting-environment-variables) section on how to set up
environment variables.
+The `JAVA_HOME` environment variable must be set according to your JDK
installation path. See the [Setting Environment
Variables](#setting-environment-variables) section on how to set up environment
variables. Alternatively as of `cordova-android` 10.0.0 or greater,
`CORDOVA_JAVA_HOME` can be set in place of `JAVA_HOME`, allowing a JDK install
to be used specifically for Cordova development.
### Gradle
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]