Java – what is the reason for using openjdk?

I understand the difference between Oracle JDK and open JDK in some way But I can't find a reason to use open JDK, because Oracle JDK already has everything it needs, sometimes even faster than open JDK

Under what circumstances should someone use open JDK? This is only a legal issue. If so, what is the problem? Because I have been using Oracle JDK to develop all projects

Solution

Now, the reasons for choosing between openjdk and Oracle JDK include:

>Availability of platform specific build / installer For example, when I last checked, there was no Oracle JDK distribution in ". DEB" format for Debian / Ubuntu And there is no openjdk version for windows. > Oracle JDK has some business functions that can be enabled by paying users They are not on the openjdk. > Oracle JDK has an annoying click license This can be painful if you try to deploy automatically; For example, cloud virtual machine In contrast, openjdk on Linux can be installed and updated using the platform's package manager (at least). > If you want commercial support for openjdk, you may have problems

If you only plan to use the software, there is no substantial licensing difference between Oracle JDK and openjdk (there are some restrictions on binary redistribution of Oracle JDK, but they are about shipping non-standard or reduced versions of the Java platform.)

According to this blog page, some differences will disappear in the future:

> Faster and Easier Use and Redistribution of Java SE

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>