• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
Bartenders:
  • Himai Minh
  • Carey Brown
  • Frits Walraven

Doubt about java license? pls help

 
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1033
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic