External Distribution of Products Based on Java or HotJava Source
Code
For external distribution of products based on Java or HotJava source
code, Java or HotJava source code is available for
licensing on a fee basis.
If you are interested in licensing the Java or HotJava source code or the differences between source and binary licensing, please read this FAQ (list of Frequently Asked Questions).
Porting and Internal Use of Java and HotJava Source Code
Java and HotJava
source code is available for teaching, research, porting, and other internal business purposes (but not for general productive use).
A license agreement is available for this purpose.
Java Source Release.
Reimplementations of the Java Compiler or the Java Runtime Interpreter are permitted without requiring a license from Sun provided such implementations are created directly from the published specifications and without the direct or indirect use of Sun's own implementations or other intellectual property rights, including trademarks.