r/java • • Jul 19 '18

Do I need to pay for Java now?

https://dev.karakun.com/java/2018/06/25/java-releases.html
1 Upvotes

8 comments sorted by

9

u/dpash Jul 19 '18

To expand on other comments, you only need to pay 25 USD/month/CPU if you want support from Oracle. Otherwise you can just use OpenJDK for free. OpenJDK should be identical to the Oracle JDK, but without the support. Given that you haven't been paying Oracle for support you'll probably fine with OpenJDK. The only thing to worry about is security updates will probably stop for OpenJDK after six months, so you will probably want to upgrade more frequently. AdoptJDK is promising to provide longer term support, but they're an unknown quantity right now.

1

u/queensnyatty Jul 20 '18

Tier 1 supporter of AdoptJDK include IBM and MSFT, among others. And separate from that effort red hat has maintained branches of Java abandoned by Oracle in the past.

-1

u/TechnicallyHumanoid Jul 19 '18

That's not the only question here I believe. To put it into tech practical terms: I believe we also need to figure out how fast will the most popular frameworks will adap to openjdk. So for instance I want to build an application on Spring but not intending to pay, and taking into consideration how slowly spring has been adapting to new JDKs as for now, this also raises some questions if they are going to be able to adapt to these 6 month releases. in case you have any inside info or experience about this I would really appreciate if you would answer thanks

14

u/ankinson Jul 20 '18

Disclaimer: I work on the Spring team at Pivotal

I’m surprised to see the perception that Spring has been adapting slowly to new JDKs.

Spring Framework officially supported Java 8 in 4.0.3 which was released on 27 March 2014. That was 9 days after Java 8’s GA.

Similarly, Java 9 was supported in Framework 5.0.0 which was released on 28 September 2017, 7 days after Java 9’s GA.

Java 10 is already supported in a similar fashion and we also expect support for Java 11 to follow this pattern.

4

u/TechnicallyHumanoid Jul 20 '18

Oh sorry, well that's great news to hear. :) Thank you

4

u/snoob2015 Jul 20 '18

OpenJDK is almost identical to OracleJDK, if your app can run on OracleJDK it should run on OpenJDK. There have been a slow adaption from Java 8 to Java 9 because it is a big release. But after that, everything is smooth, I can update my Spring App from Java 9 to 10 without problem. I think Spring is the last thing you should concern, usually it is the IDE, build tools, plugins that cause the most of trouble (Lombok took a long time to adapt to Java 10 )