Replies: 3 comments 3 replies
-
I'm not finding anything called OpenSDK so I assume you mean Microsoft's build of OpenJDK. It's not something that is tested against but if it implements the Java specification properly I see no reason why it wouldn't work. Cordova's CI mainly uses AdoptJDK, which is also built from OpenJDK. The JDK shipped with Android Studio could be used as well. See CORDOVA_JAVA_HOME for how you can tell cordova which JDK environment to use. |
Beta Was this translation helpful? Give feedback.
-
Thanks.. Yes I was pleased when they implemented the CORDOVA_JAVA_HOME idea - I think we originally discussed that on another issue. Anyway - I was going on the requirements for the Android Platform implementation: If you are using cordova-android 10.0.0 or greater, install the [Java Development Kit (JDK) 11] Are you saying that say Microsoft Open JDK 21 should work? |
Beta Was this translation helpful? Give feedback.
-
Hi Norman,
Look like the default structure works in 21 - 17 also for basic.
Q: On the work pc's they have:
C:\Program Files\AdoptOpenJDK\jdk-11.0.11.9-hotspot\bin\java.exe
C:\Program Files\Microsoft\jdk-21.0.2.13-hotspot\bin\java.exe
I can't change this.
I use: ANDROID_JAVA_HOME = C:\Program Files\Android\Android
Studio\jbr\bin
When run requirements it still says Java JDK: installed 21.0.2.
Should it not use C:\Program Files\Android\Android Studio\jbr\bin?
Phil
…On 2024-07-07 15:56, Norman Breau wrote:
you'll probably need JDK 17 if they have that version available.
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you authored the thread.Message ID:
***@***.***>
Links:
------
[1]
#483 (reply in thread)
[2]
https://github.com/notifications/unsubscribe-auth/ABFTBHSPXTHHZ73AWSUCI6TZLDJ7TAVCNFSM6AAAAABKPAOVHSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSNZXHAYDE
|
Beta Was this translation helpful? Give feedback.
-
Work is not licensing the required Cordova Java versions - money.
Does Cordova work with Microsoft OpenSDK?
Beta Was this translation helpful? Give feedback.
All reactions