OpenJDK and JNI -- licensing

Dalibor Topic Dalibor.Topic at Sun.COM
Tue Jul 7 23:58:03 UTC 2009


Kevin Regan wrote:
> I'm asking for samples explaining how the license applies to JNI and pure Java applications.

Let me quote from the FAQ I referred to in the mail you're just replying to:

"Q:
Are there any other licenses used in the OpenJDK code base besides the ones you've already described?
A:
Yes. The demo and sample code modules are released under the BSD license. These code elements are intended to be very widely distributed, freely modified and used. Accordingly, we've chosen the BSD license as most appropriate for these uses. *Because these components are not part of the JDK but rather are application programs, they need not be under the GPL license because of the Classpath exception.*"[emphasis mine]

You can find the samples you're looking for (both pure Java applications, and those using JNI) in the folders containing BSD licensed demo and sample application programs.

I can only assume that the issues you're having with the FAQ are based on an assumption that using or not using JNI makes a major difference in terms of the effect of the license, so I'd kindly suggest reading the license terms, and/or the FAQ and/or asking a legal professional for advice.

cheers,
dalibor topic
-- 
*******************************************************************
Dalibor Topic                   Tel: (+49 40) 23 646 738
Java F/OSS Ambassador           AIM: robiladonaim
Sun Microsystems GmbH           Mobile: (+49 177) 2664 192
Nagelsweg 55                    http://openjdk.java.net
D-20097 Hamburg                 mailto:Dalibor.Topic at sun.com
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Häring





More information about the discuss mailing list