Android development and new Oracle JDK License

Alexandre D. :

I could not find any clear answer about that, but I am developing some Android applications for commercial uses and I do not know how the changement concerning the Oracle JDK License (April 16, 2019) will impact the distribution of my apps:

Do I need to purchase Oracle licence to be able to use JDK 8?

Or is there any agreement between Oracle and Google about that which allows Android developer to use Oracle's JDK without being under Oracle's licences?

I saw that Android Studio uses OpenJDK now. But OpenJDK being licenced under GPLv2, it does not seem to be adapted for commercial uses. But I may be wrong.

I am not very familiar about these licences issues...

Any help, explanation, precision will be welcomed !

MatPag :

Summary: Don't worry about Android JDK license

Android Studio uses OpenJDK which is free, open-source and can be used for commercial products.

You don't need to worry about this because all the license problematics for the Android development like IDE, tools, etc.. are managed by Google. (that's why they switched to OpenJDK when Oracle filed suit against Google for using Oracle JDK without license).

You just need to check licenses of third-party tools/libs you use in your apps

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=329109&siteId=1