OpenJDK and JNI -- licensing

Kevin Regan galabar at
Tue Jul 7 16:17:35 UTC 2009

Hi Dalibor,


Thanks you for the response.  I guess you've been instructed to only answer licensing questions by pointing to the FAQ.


Looking at the JNI headers in the OpenJDK distribution, they do include the "Classpath exception" text.  So, I'm going to assume that JNI applications do not fall under the GPL.


Is this correct?  Just kidding -- you don't need to answer that. ;-)


Thanks again,

> Date: Tue, 7 Jul 2009 15:03:07 +0200
> From: Dalibor.Topic at Sun.COM
> Subject: Re: OpenJDK and JNI -- licensing
> To: galabar at
> CC: discuss at
> Kevin Regan wrote:
> > I'm reading the Classpath exception as meaning that a compiled java .class file that is run with the JRE would otherwise be subject to the GPL, if not for the exception. Is this correct? Does this extend to JNI libraries (that do not reference any OpenJDK code) that are actually linked into the JRE through a dynamic library at runtime?
> Hi Kevin,
> I believe that your first question is answered by 
> and that the second question is answered by 
> If you need specific legal advice, I am afraid that I
> can't be of much help there, not being a lawyer myself.
> 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
> D-20097 Hamburg mailto:Dalibor.Topic at
> 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

Insert movie times and more without leaving Hotmail®.

More information about the discuss mailing list