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?
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.