r/javahelp • • Dec 29 '19

OpenJDK license

Hello,

so I'm a bit confused now regarding the licensing of the open jdk. Can I use the OpenJDK 13 in production projects or not? https://jdk.java.net/13/

And what does in "GNU General Public License, version 2, with the Classpath Exception." the "with the Classpath Exception." mean?

18 Upvotes

5 comments sorted by

View all comments

5

u/morhp Professional Developer Dec 29 '19

Of course you can use openjdk in open source projects. The classpath exception basically means that you can use the openjdk class files (the classpath) without your project being GPL2 as well. Otherwise the GPL would require every Java application to be GPL as well.

4

u/lukelane124 Dec 29 '19

I think OP was asking about using openJDK13 with closed source projects; I'm sure your answer would still be the same?

4

u/morhp Professional Developer Dec 29 '19

Yes, it can be used for closed source projects as well.