Possible Duplicate:Can we use Java for commercial use? I am a college student learning how to program in Java. I really like Java's simiplicity and portability and I would like to one day develop a commercial application in Java. What I am trying to understand is Java's GNU license.With the recent litigation between Java and Google, I am a little bit skittish on developing any commercial applications in Java. As I understand it, I can only release my Java programs under the GNU license and I must release the source code. Do I have to buy a license from Sun to develop and release commercial applications in Java? 
Java GNU Licensing
java;licensing