Is java license required for android apps?

Hi guys,
I’m developing an app for android with Capacitor v4.
I understand that capacitor uses java when it compiles app for android.
Since Oracle started to require licenses for java, do I need to obtain a java license for my app (it’s a commercial app)?
thanks!

I guess if you use the Oracle JDK you’ll need a license, but if you use OpenJDK then you don’t need a license.
The Android Studio download includes a OpenJDK version and that’s what I use for building the apps, even when building from the command line because I set the JAVA_HOME to use the Android Studio JDK path.

1 Like