Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenJDK for production and LTS?

Tags:

java

My understanding from "Do you have to pay to use Java?" of Java programming language Free is that I can go for OpenJDK(version 11) build provided I don't need LTS as both OpenJDK and commercial version are identical in terms of features. If I need to purchase LTS(Long term support) either I have to purchase support for OpenJDK or upgrade to same version of "commercial Oracle JDK build". Is that correct ?

Another question is why I need LTS ? I think if we don't take LTS then any we don't get any support/patch for defects( or security patch). Right ?

like image 748
user3198603 Avatar asked Jan 18 '20 12:01

user3198603


2 Answers

I wrote a blog article discussing that topic in early 2019.

First, as far as I know, the OpenJDK team does not offer any premium support.

Second, normally one goes to the LTS for longterm support, mainly security updates.

Third, Oracle will only hand over the code for the LTS version to the OpenJDK team and only after the LTS has reached its end of life. This means that the OpenJDK community has to keep up with changes on their own.

Now to the topic on the JDKs being identical. They both pass the JCK and thus can be used as drop-in replacement for each other. The implementations, however, may vary.

There is a host of JDK providers, all with different support plans. Fact of the matter is, there is no free lunch. If one wants support, one has to pay.

A remark on your post: Please limit yourself to one question per post

like image 193
Turing85 Avatar answered Sep 28 '22 07:09

Turing85


OpenJDK is is a free and open-source implementation of the Java Platform. The implementation is licensed under the GNU General Public License. You are free to use at any environment. But you won't get any kind of support from the Oracle and you've to rely on open communities support, later can be best than the OEM support some times.

LTS is a product life cycle management policy in which a stable release of software is maintained for a longer period of time than the standard edition. You get security updates for some good number of years.

Do you have to pay to use Java?

Answer is yes, Iff you use Oracle JDK for business, commercial, or production purposes.

Answer is No, if you use OpenJDK irrespective purpose or environment.

PS: this is all about licensing and it can change over a period of time.

like image 41
Player_Neo Avatar answered Sep 28 '22 06:09

Player_Neo