#Oracle vs OpenJDK

1 messages · Page 1 of 1 (latest)

dense tendon
#

Hi All,

If you didn't know there is two major versions of Java one being Oracle and the other being OpenJDK of course the main one is OpenJDK now but I am curious on the statment below what is Oracle doing to improve Java are they altered how things are done and if this is the case wouldn't it lead to stuff breaking on different systems with different Java versions Eg build with Oracle and deployed on OpenJDK.

**There’s no real technical difference between the two, since the build process for Oracle JDK is based on that of OpenJDK.

When it comes to performance, Oracle’s is much better regarding responsiveness and JVM performance. It puts more focus on stability because of the importance it gives to its enterprise customers.

OpenJDK, in contrast, delivers releases more often. As a result, we can encounter problems with instability. Based on community feedback, we know some OpenJDK users have encountered performance issues.**

wet tangleBOT
#

<@&987246399047479336> please have a look, thanks.

wet tangleBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

#

Here is an AI assisted attempt to answer your question 🤖. Maybe it helps! In any case, a human is on the way 👍. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#

ing "the main one is OpenJDK now".

OpenJDK is an open-source implementation of the Java Platform, Standard Edition (Java SE). It is maintained by the community and supported by various organizations, including Oracle. OpenJDK provides a reference implementation of the Java SE specifications and serves as the base for other Java distributions.

On the other hand, Oracle JDK (formerly known as Oracle Java Development Kit) is a commercial distribution of Java SE provided by Oracle. It includes additional features and tools that are not available in OpenJDK, such as the Java Flight Recorder and Mission Control.

In recent years, there has been a shift towards using OpenJDK as the default choice for Java development. This is partly due to Oracle's decision to change their licensing model for Oracle JDK starting from version 11. While Oracle JDK continues to be available for free for personal use, commercial usage requires a paid subscription or license.

OpenJDK, being open-source, allows users to freely use, modify, and distribute it without any licensing restrictions. This makes it more appealing for organizations that want to avoid potential licensing costs or have more control over their Java environment.

However, it's important to note that both Oracle JDK and OpenJDK are highly compatible with each other. They both adhere to the same set of Java specifications and APIs. In fact, many Linux distributions have switched to using OpenJDK as their default Java implementation.

Ultimately, whether you choose Oracle JDK or OpenJDK depends on your specific requirements and preferences. If you need access to additional tools and features provided by Oracle JDK or require official support from Oracle, then Oracle JDK might be a better choice. Otherwise, OpenJDK offers a robust and freely available alternative for most Java development needs.

dense tendon
#

Wow

long fossil
# dense tendon Hi All, If you didn't know there is two major versions of Java one being Oracle...

There’s no real technical difference between the two, since the build process for Oracle JDK is based on that of OpenJDK.

When it comes to performance, Oracle’s is much better regarding responsiveness and JVM performance. It puts more focus on stability because of the importance it gives to its enterprise customers.

OpenJDK, in contrast, delivers releases more often. As a result, we can encounter problems with instability. Based on community feedback, we know some OpenJDK users have encountered performance issues.
Where did you read that ?
And chatgpt is pretty accurate here

dense tendon
#

On the springboot website

long fossil
dense tendon
#

I sent it

long fossil
#

that's baeldung

#

not springboot

dense tendon
#

Lol for me its the same

#

I use it for sprintboot 😄

long fossil
#

note that the implementation is the exact same

#

no matter the distribution

dense tendon
#

Let me read the AI then to find out how they make it faster

long fossil
#

they don't

#

it's the same

dense tendon
#

It can't be

#

They charge to use it

#

Why pay for something that is free 😄

#

People can't be that dumb

long fossil
#

the only difference is the license, and the customer service

dense tendon
#

No way actually?

long fossil
dense tendon
#

People just pay for the licnese

#

to use it

long fossil
#

?

#

If you just want to use java, you use OpenJDK

dense tendon
#

I mean host

long fossil
#

?

dense tendon
#

Even if Oracle has customer service like what can they do

#

they can't fix anything

#

or change anything in the language

kind phoenix
#

they do

long fossil
#

wdym

#

oracle owns java

dense tendon
#

So its not the same?

kind phoenix
#

they provide u with 24/7 support and consulting

#

they help u fix ur app and develop cool stuff

#

and that's what u pay for

dense tendon
#

Ohhhhhhhhhhhh

#

I thought u just paid to use it

kind phoenix
#

no. java is free

dense tendon
#

I meant commerically

kind phoenix
#

its free for any use

dense tendon
#

As to host with Oractle its not free

kind phoenix
#

ur just misreading

#

they don't sell u "java"

#

they sell u java + support

dense tendon
#

They sell a license

#

to use Java

kind phoenix
#

and if u read the small print, they tell u to go to their openjdk website instead, if u don't want the support

kind phoenix
dense tendon
#

Oh man I learned alot

#

I am dumb

#

Thank you guys

#

but that is mad still I guess though U get Java pros

kind phoenix
#

no worries. ur not the first confused by oracle moving everthing around to different websites

#

in case it wasn't clear, all those websites belong to them

dense tendon
#

Ohhhhhh

kind phoenix
#

they want the oracle Website to be the home for business partners and their openjdk site for others

#

Problem is just that Google still indexes the oracle site higher

dense tendon
#

I prefer the Oractle one just looks so much nicer

#

But that makes sense

#

OpenJDK looks so old they need to update the UI

kind phoenix
#

most people get their java from adoptium

#

which is yet another site

#

their installer is the best though

dense tendon
#

And all of these are the same?

#

That is mental

kind phoenix
#

yes. they are all compiled based on the src files at openjdk

long fossil
kind phoenix
#

yet another Website lol

vast dawn
#

lol

#

but yeah would always go with adoptium

dense tendon
#

Man my mind is blown

#

I have been doing Java for years and never knew

kind phoenix
#

this whole confusion kinda started around java 7/8

#

multiple changes of direction

dense tendon
#

Ahhhh

#

I think back then u could download of oracles websitr without signing in 😄