Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt about java license? pls help

 
HaoZhe Xu
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
peter wooster
Ranch Hand
Posts: 1033
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic