Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I use Apache License, Version 2.0 in my API?

 
Deepak Chopra
Ranch Hand
Posts: 433
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have created one API (jar) which I want to open source. I was hosting it then someone advised me to use some license. I googled it and found that I can apache License 2.0.

http://www.apache.org/licenses/LICENSE-2.0

Can someone advise me if I can use this license in my API and distribute it freely?
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can. Be sure to read http://www.apache.org/foundation/licence-FAQ.html, so you know the implications of it.

You may also want to check out other licenses, like the various GNU licenses: http://www.gnu.org/licenses/licenses.html.

The Lesser GPL is closest to the Apache license, while the GPL and Affero GPL are rather different. It's definitely something to think about - what do you want to achieve with your project, how would you like people to use it, etc.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15272
37
Android IntelliJ IDE Java Scala Spring
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic