Two Laptop Bag
The moose likes Beginning Java and the fly likes Confusion about Java license... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Confusion about Java license..." Watch "Confusion about Java license..." New topic

Confusion about Java license...

HaoZhe Xu
Ranch Hand

Joined: Nov 03, 2003
Posts: 222
My question is, if I write a program using Java, can I sell it, or I have to pay some money to Sun (for what???)

thanks in advance

Pauline McNamara

Joined: Jan 19, 2001
Posts: 4012
Since this question is not specific to the Cattle Drive, I'm moving it to Java in General - Beginner.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14993

No, you do not have to pay Sun any money if you write a program in Java and sell it. See the license for JDK 1.5.0.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: Confusion about Java license...
It's not a secret anymore!