File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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: 15045

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!