aspose file tools*
The moose likes General Computing and the fly likes Integrating fragment of LGPL code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Integrating fragment of LGPL code" Watch "Integrating fragment of LGPL code" New topic
Author

Integrating fragment of LGPL code

Sharon whipple
Ranch Hand

Joined: Jul 31, 2003
Posts: 294
Hi all
We are writing a commercial Java application in swing,
One of the modules allow user to compare text files so instead of writing our own Diff we would like to integrate LGPL one.
So I was wondering if it is possible to integrate a fragment of source code from LGPL software or use its classes from JAR files?

Quote from the LGPL license :
"Statically linked library is allowed if either source code or linkable object files are provided"
Is it the same deal with Jars?

Thank you
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

As far as I know (I'm no lawyer), simply including an LGPL JAR file in your distribution package, and having your code make calls into classes in that JAR file does not restrict you in any way regarding the licensing of your application. For example, you can use a commercial license and charge for your product.

You should, somewhere in your docs, acknowledge use of the JAR and let your users know where they can obtain the JAR and its source code.


JBoss In Action
Sharon whipple
Ranch Hand

Joined: Jul 31, 2003
Posts: 294
Thank you,
I will also consult a lawyer for this matter.
 
jQuery in Action, 2nd edition
 
subject: Integrating fragment of LGPL code