I would like to create a JAVA library, that will use an LGPL library. The LGPL library is a library that provides an API to create charts, whereas my library will provide a more high level API like creating a Window with a chart inside it. For example, I could have the following:

Proprietary windowWithChart = CreateWindowChart();
LGPLChart chart = windowWidthChart.getChart();

If I distribute my library as a JAR, is it mandatory to use an LGPL license, or can I use a proprietary license ? I'm wondering if my work could be considered as "a work using the LGPL library", or "a work based on the LGPL library"

  • What do you mean with "use" exactly? Have you read the LGPL license and know what your obligations are when you distribute work which makes use of LGPL-licensed libraries and the difference to actually directly incorporating its code into your project in a way that it is not used as library any longer? Mar 16 at 10:37
  • "use" means my code is instantiating classes from the LGPL library. I want to distribute my library as a .jar, that doesn't contain the source code of the LPGL library. To use my library, you will need both my library .jar and the LGPL library. And Yes, I read the LGPL text, that is not clear at 100% to me (a software developer). Mar 16 at 13:13
  • Does the JAR file you are shipping contain any code of the library you are "using" or must the LGPL library be installed as separate JAR file? Mar 29 at 8:15
  • It must be installed as a separate JAR file. I haven't copied any line of code from it. Mar 29 at 12:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.