DEV Community

loading...

Discussion on: Java is still free!

Collapse
rohit profile image
Rohit Awate

Hi! I've been planning to release Everest coupled with a JRE. Can I use an OpenJDK JRE and not pay Oracle?

Also, I plan to offer paid plans with Everest which would use a Node.js powered sync service running in the cloud. I'm confused since Everest itself is completely open-source but it will simply make API calls to a paid service. So how would that work?

Collapse
rrampage profile image
Raunak Ramakrishnan

If you are using OpenJDK, you need not worry about paying Oracle. I had a look at Everest and looks like you are using JavaFX which is bundled by default with Oracle JDK and not included in OpenJDK 8. You can include OpenJFX through Maven.

Also, have a look at how IntelliJ Community does their bundling. They are also JavaFX based and open source.

Disclaimer: I am not a lawyer, so take advice with a grain of salt.

Collapse
rohit profile image
Rohit Awate

Thank you! This was really helpful.

Collapse
lemuelogbunude profile image
Lemuel Ogbunude Author • Edited

You could go for OpenJDK to avoid any hassle.

Though you could still consider continuing with what you have.

In one of the links I provided it read:

If someone is using Oracle JDK 8 to run commercial software, after January 2019 do they need to purchase a license?

No. The user can continue to use Oracle JDK 8 indefinitely without paying. The only cost is if they want to get updates beyond Jan 2019, in which case they will need to purchase an "Oracle Java SE subscription.

Also, this was there:

Starting with Java SE 11, neither the OpenJDK builds or the Oracle JDK binaries include the JavaFX libraries. The JavaFX components will now be delivered as a separate SDK, or as artifacts that can be used via build tools (e.g. Apache Maven, Gradle et al.). As a positive consequence of this decoupling, JavaFX development can now have its own roadmap.

JavaFX is still being developed in OpenJFX, which is a project under the OpenJDK community umbrella.

So if JDK8 is fine for you then you could continue with your project with no worries, then probably later you could switch to OpenJDK 11 which can be interchanged with Oracle's JDK11.

In case you didn't go through the links I provided, I strongly recommend you go through them as they would address the questions you might have :)

Collapse
rohit profile image
Rohit Awate

Thank you, this really cleared up my doubts. I'll definitely consider moving to OpenJDK 11 and add OpenJFX via Maven.