简体   繁体   中英

Which JDK should I use to compile my Android app with and which version?

My question could break into two section:

  1. I want to know if there is any downside to using OpenJDK instead of Oracle JDK,
    for example, if I compile my Android app with Oracle, would it be faster? If it would, is there any benchmark? And in general what are the advantages?
  2. Should I compile my app with OpenJDK/OracleJDK version 7 over 5? What are the differences?

Thank you in advance.

1- I want to know is there any downside for using OpenJDK instead of Oracle JDK, for example, if I compile my andorid app with Oracle, would it be faster?

Well AFAIK in Java, if you seek performance, go for OpenJDK, while those who want Reliability, favor Oracle's JDK.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM