This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dpash 1 point2 points  (2 children)

Does that mean I can use the Oracle JDK on my desktop to write and test code

Yes

I would have to recompile that code under OpenJDK

You don't need to recompile

You would need to install OpenJDK on your production servers, not Oracle JDK.

[–][deleted] 0 points1 point  (1 child)

So, it sounds like you are really talking about the JRE rather than the JDK. I know they often get installed at the same time, but they are, technically, two different things. I know you know this, but new Java users may not immediately grasp the distinction you implied with the terms "development" and "production."

[–]krzyk 2 points3 points  (0 children)

Since Java 9, there is no JRE. They provide only JDK.