File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Jobs Discussion and the fly likes Doubt about java license? pls help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Careers » Jobs Discussion
Bookmark "Doubt about java license? pls help" Watch "Doubt about java license? pls help" New topic
Author

Doubt about java license? pls help

HaoZhe Xu
Ranch Hand

Joined: Nov 03, 2003
Posts: 222
Do i need to purchase a java license to sell my java-written application? If i do, how much is it? Is it different for J2SE and J2ME?
Thanks.


[url]Olnex.net[/url]
[SCJP 1.2, SCJD, SCWCD]
peter wooster
Ranch Hand

Joined: Jun 13, 2004
Posts: 1033
Originally posted by HaoZhe XU:
Do i need to purchase a java license to sell my java-written application? If i do, how much is it? Is it different for J2SE and J2ME?
Thanks.


You need a license to run or distribute a java application. Its free, or as Sun puts it "without fees". The details are in

Sun License Agreement..

Take particular note of the sections
2) License to use:
"Sun grants you a non-exclusive, non-transferable, limited license without license fees to reproduce and use internally Software complete and unmodified for the sole purpose of running Programs. Additional licenses for developers and/or publishers are granted in the Supplemental License Terms."

Supplemental License Terms B) License to Distribute Software:
"Sun grants you a non-exclusive, non-transferable, limited license without fees to reproduce and distribute the Software, provided that
(i) you distribute the Software complete and unmodified (unless otherwise specified in the applicable README file) and only bundled as part of, and for the sole purpose of running, your Programs,
(ii) the Programs add significant and primary functionality to the
Software, ..."

So not only can you use Java, you can also package it up with your program, although most applications make you download a fresh copy from Sun since its huge.

The Sun source code is a different matter, you need a paid license to use that other than for reference. The license also forbids modifications to the Java code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt about java license? pls help