| Author |
Choosing between OpenJDK and Oracle JDK
|
chaitanya karthikk
Ranch Hand
Joined: Sep 15, 2009
Posts: 779
|
|
Hi all, we are starting a project using java technologies. Our client is not interested in purchasing tools or sdk-s when there are alternatives. So we are thinking to use OpenJDK. I hope Oracle JDK is only free for home purpose or learning purpose. I think if we plan to do business on it we have to purchase a license. This is why we are going for OpenJDK. I have few questions
1. I don't know exactly whether can we develop and sell products using OpenJDK, next, OpenJDK is not available for Windows operating system.
2. In the site (openjdk.java.net) they gave a link to download openjdk for windows but it points to Oracle site. Is there an OpenJDK implementation available for windows operating system?
3. The site only speaks about JDK. What about JRE? Should we use Oracle JRE in production environment?
Can anyone please help me. Thank you in advance. good day.
|
Love all, trust a few, do wrong to none.
|
 |
Greg Charles
Bartender
Joined: Oct 01, 2001
Posts: 2542
|
|
|
I don't think you mean you "hope" Oracle JDK is only free for home use, but maybe you mean you "believe" that to be true? In any case, the Oracle JDK is in fact free for any kind of use as far as I know. The license is viewable at http://www.oracle.com/technetwork/java/javase/terms/license/index.html. It does exclude certain Commercial Features, but that seems to mean JRockit and a few other tools, not the commercial use of the Java Development Kit and Runtime Engine.
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12929
|
|
|
See also my answer in your other copy of this question. (Please do not post the same question in more than one forum).
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
Randy Nielsen
Greenhorn
Joined: Jan 23, 2013
Posts: 3
|
|
I don't pretend to be a lawyer but in my experience Oracle can and will force you to sign a license agreement with $ attached to it, provided you commercially re-distribute their JRE binaries as part of your product. Before getting to deep into this I highly recommend you consult with an attorney experienced in these matters. I don't know the legality of re-distributing your OpenJDK build binaries. Notably the TCK (Test Compatibility Kit), which allows you to test-certify a build, is covered under a separate license. From http://openjdk.java.net/faq/: "To test for compatibility of your implementation to the Java SE specification, you will need to apply to Oracle to obtain access to the Test Compatibility Kit (TCK). Oracle makes the Java SE TCK available under a variety of commercial and non-commercial agreements." So if you're developing games or whatever go for it. if you're developing any kind of "commercial" application, be very careful. Spend the $ on a good attorney.
Randy
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32708
|
|
Welcome to the Ranch Randy Nielsen.
|
 |
Winston Gutkowski
Bartender
Joined: Mar 17, 2011
Posts: 4761
|
|
Randy Nielsen wrote:I don't pretend to be a lawyer but in my experience Oracle can and will force you to sign a license agreement with $ attached to it, provided you commercially re-distribute their JRE binaries as part of your product.
Really? Like the others, I've always assumed that the basic stuff was free, even for most commercial applications. And since you can download the JRE from almost anywhere (indeed, many OS's come with it pre-loaded), I can't imagine how Oracle could possibly keep track of violations.
The whole point about Java is that it's a free development and distribution platform; and although I have no illusions about Oracle when it comes to money-grubbing, the minute they decide to start charging people for its use is the day it will die.
Winston
|
Isn't it funny how there's always time and money enough to do it WRONG?
|
 |
chaitanya karthikk
Ranch Hand
Joined: Sep 15, 2009
Posts: 779
|
|
|
Thanks all, hope Oracle will not charge anything in future also. I do have another question in the which is unanswered. What about OpenJDK for windows? What about OpenJRE? Should I install OpenJDK in production also? Or I have to copy the JRE folder and distribute it?
|
 |
 |
|
|
subject: Choosing between OpenJDK and Oracle JDK
|
|
|