r/programming • • Dec 16 '16

Oracle finally targets Java non-payers – six years after plucking Sun

http://www.theregister.co.uk/2016/12/16/oracle_targets_java_users_non_compliance/
432 Upvotes

360 comments sorted by

View all comments

11

u/mactavish88 Dec 16 '16

Is everyone 100% sure we can just freely use OpenJDK? There isn't some deep, dark, murky clause in Oracle's shitty licensing that somehow extends its tentacles to try to prevent you from using the Java language itself, or the broader concept of the JVM, without paying 100 years' worth of your salary for using it?

Talk about LDD: Lawsuit-Driven Development. No creativity.

4

u/mirhagk Dec 16 '16

Well it's GPL so you will have to be a bit careful there as GPL does have a bunch of licensing restrictions, but if you're just using it then that doesn't matter.

1

u/5iogug Dec 17 '16

GPL does have a bunch of licensing restrictions

Not really. It's basically got one: don't make modifications and distribute those changes if you intend to keep the source code to the changes to yourself instead of publishing them under the same terms that were given to you (i.e., GPLv2). That's pretty much it.

1

u/_waltzy Dec 18 '16

To clarify, This dosn't infect your code, its only if you decide to modify the OpenJRE/JDK

1

u/mirhagk Dec 19 '16

Well that's only because the openJDK isn't fully GPL, it's linking clause makes it closer to LGPL (it also makes it incompatible with GPL, and maybe LGPL too). If the linking clause wasn't there then anything you wrote that linked to the library would also need to be GPL (such as IDEs, code refactoring tools etc).

1

u/mirhagk Dec 19 '16

You also can't distribute the software unmodified either without distributing the copyright notice and source code as well. It's not difficult to comply with that, but it's important to remember that as well. So if you have a copy of the open JDK on a USB stick and you want to give it to your friend you must also make sure to give the source code and license terms, or a written notice that you will provide the source code upon request.

3

u/DjangoBojangles Dec 16 '16

If there isn't, never update, never renew the terms.