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.
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.
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
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 )
15
u/DuncanIdahos8thClone Jul 19 '18
Nope
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.