We develop a software for commercial use and sell it to customers. The software is a web based software that requires Oracle JDK for running (JRE). We are considering moving to OpenJDK because our customers are not interested in paying licenses to Oracle. We would like then to use OpenJDK for running the application and provided that we will not be changing any code we are not sure if the GPLv2 from OpenJDK means also that we would have to be able to show our code if requested to do so.

Can we distribute our software without a worry that we would have to deliver our source code or publish our code?

I would appreciate any help in this matter.

  • 2
    Possible duplicate of Bundling JetBrains OpenJDK in closed source software. The answer is the same irrespective of which OpenJDK variant you use. It is not under GPL but GPL + Classpath Exception, and that makes all the difference. The GPL is scoped to the JDK and does not affect your code. – amon Mar 8 at 13:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.