Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Free software as defined by FSF. Are its standard libraries free/open source? Is its implementation free/open source? Which parts of it are not free/open source? Any other relevant information.

share|improve this question

marked as duplicate by MichaelT, durron597, GlenH7, Ixrec, Dan Pichelman Oct 16 '15 at 21:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

At some point, rms raised the issue of the Java Trap - in analogy with the Javascript Trap. The headnote to the article tells us that currently most of the issues raised are resolved, so I think it's safe to assume that Java is free software as defined by FSF. There are some Java related core technologies that are still not floss, an some are identified at the same article. But for everything you use, make sure you check its licence regardless. – Yannis Dec 18 '11 at 20:49
up vote 11 down vote accepted

Java itself has been opened sourced, so in that respect it is free.

Some library implementations are open source, some are not. The ones from Sun have been opened sourced with the rest of the language.

As for the software you write - that's up to you.

share|improve this answer
@Andrew Dalke - Thanks for finding the link :) – Oded Dec 18 '11 at 17:46
It's very, very close. There is an outstanding issue with the TCK licensing (which makes it difficult to have non-GPL OSS derivatives of Java called Java), but the situation has improved a great deal, some kudos to Sun and then Oracle on that one (+ a lot of good community work) – Martijn Verburg Dec 19 '11 at 11:05
But Oracle's JVM is not open source - is that correct? – MarkJ Oct 24 '12 at 8:55
Oracle is making OpenJDK the primary implementation, they have closed source additions/versions, too,though. If they stick to their word long-time this will only be enterprise special purpose things most users won't need. – johannes Oct 24 '12 at 11:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.