Skip to main content

JNI_CreateJavaVM & GPL

1 reply [Last post]
teadrinker
Offline
Joined: 2008-02-06
Points: 0

Am I correct in understanding that linking to a C program in such a way as to call JNI_CreateJavaVM in a commercial application would be a violation of the OpenJDK license, or is there an exception for calling this?

Seems a little odd that the license would prohibit this usage since the redistributable JDK downloaded from Sun does not, but there does not seem to be a GPL exception for this case.

Is this true, or did I just miss the exception?

Thanks,

Jim

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
robilad
Offline
Joined: 2004-05-05
Points: 0

The easiest way to answer your question is to point you straight to the include/jni.h file in your OpenJDK installation.