开发者

Using LGPL library in a commercial Java application [closed]

开发者 https://www.devze.com 2022-12-14 15:22 出处:网络
Closed. This question does not meet Stack Overflow guidelines.开发者_StackOverflow社区 It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines.开发者_StackOverflow社区 It is not currently accepting answers.

This question does not appear to be about programming within the scope defined in the help center.

Closed 7 years ago.

Improve this question

I have a commercial Java application which I will be distributing.

I want to use an LGPL'd java library. I wont be modifying the library. Does the LGPL license of that library have any impact on my application's license?


Yes, it does to a certain degree. You are e.g required to allow people to upgrade the LGPL'd library without your help. I suggest reading through the whole license yourself, as you're legally obligated to adhere to it's clauses. Know what you oblige yourself to, don't just take other people's words for it :)


As far as I understand the LGPL, no, you can distribute it however you like. You will only be linking to the library, not creating a derivative work, and the LGPL doesn't restrict linking.


There is no impact on your application. LGPL license allows inclusion in commercial application as long as the terms of the license are fulfilled (LGPL license text in the distribution, indication of the use of the library, etc).


My guess is that as long as your linking is dynamic (i.e. dynamic loading of the .dll/.so/.a/.class/whatever file at runtime), you're OK. If you statically compile your code to include the library, you're at risk of violating the license, depending on how your code is structured.

If it's Java, however, you can not link statically - it's an impossibility of the platform.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号