GitToTheHub commented on PR #1795:
URL: https://github.com/apache/cordova-android/pull/1795#issuecomment-2764629881

   Hi,
   
   ### `JAVA_HOME` not applied in `config.properties`
   I did set `JAVA_HOME`:
   
   `/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home`
   
   (macOS)
   
   `.gradle/config.properties` has the content:
   
   ```properties
   #Sun Mar 30 17:59:48 CEST 2025
   java.home=/Applications/Android Studio.app/Contents/jbr/Contents/Home
   ```
   
   Points to something in the Android Studio app
   
   Is this normal?
   
   ### Build without JAVA_HOME or CORDOVA_JAVA_HOME
   
   You wrote:
   
   > When running cordova build, if JAVA_HOME is missing, its expected to not 
continue as its apart of the requirement checks.
   
   When I didn't set anything I can build successfully. The `java` command is 
still available, maybe it's working because of this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to