Licensing question

A discussion forum for JFreeChart (a 2D chart library for the Java platform).

Licensing question

Postby mrydeen » Thu Oct 19, 2017 12:17 pm

Hey David,

First off, thank you for maintaining JFreeChart. We have used it for a while now mainly for performance graphing visualization in our test code using the Time Series Charts. I had a quick question about the licensing on all of the code. Normally when developing with a thirdparty library, the thirdparty will provide code to show how to initialize, setup and work with their code. This is the easiest way to get up and running with examples and such. In most cases, developers will copy and paste those snippets/examples into their code because there is only so many ways you can initialize/setup the thirdparty library. Currently all of the JFreeChart code, including the demos are placed under a GPL license. This means that non of the code can be reused/modified, including the demos or any snippets within the demo code.

In larger companies that use legal tools like Blackduck or Whitesource, they monitor the software that is within an application to make sure that developers have not stolen any code. I know that when JFreeChart was first created, the usage of such legal tools were not in use (I am dating myself here) or very minimally. Due to the GPL license on the demo code, it requires developers to go out of their way to make their not look even remotely like the demos. So I was trying to understand if that was the intent of the GPL on the examples/demos? Is it that you really do not want people to use any of the code out of the examples, or just a use case that is not covered?

Thank you for any response,
Michael
mrydeen
 
Posts: 2
Joined: Thu Oct 19, 2017 11:54 am

Re: Licensing question

Postby david.gilbert » Fri Oct 20, 2017 7:21 am

For the demo code included in the JFreeChart distribution (there are just a few files) it is my intention that people should be able to reuse that code fairly freely. For that reason, the source file headers now show a BSD style license for the demo program - for example:

https://github.com/jfree/jfreechart/blo ... Demo1.java

For the demo code that I distribute with the JFreeChart Developer Guide (there are close to 200 demo files) I have put only a copyright notice in the source headers, there is no license to redistribute. Of course, it is my intention that people should be able to use snippets from the demos in their own programs without problems. I have a feeling that would be considered "fair use" under copyright law, but I don't know for sure. I could try to have a specific license drawn up for these demo programs to cover this case, but I'm not sure it would be easy to do and lawyers are expensive. But I'm not going to give anyone trouble for copying some lines of code from one of my demo programs into their own application.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Ask your company to buy the JFreeChart Developer Guide
:idea: Check out other products sold by my company Object Refinery Limited
david.gilbert
JFreeChart Project Leader
 
Posts: 11653
Joined: Fri Mar 14, 2003 10:29 am

Re: Licensing question

Postby mrydeen » Mon Oct 23, 2017 2:52 pm

Thank you David. That helps us with at least clearing that up, much appreciated.

Cheers,
Michael
mrydeen
 
Posts: 2
Joined: Thu Oct 19, 2017 11:54 am

Re: Licensing question

Postby ktpinegar » Thu Oct 26, 2017 9:12 pm

David, We do a detailed assessment of every software product we use for internal product development. In the JChart 1.0.17 product (at least) I found licensing text in the file "web-app_2_3.dtd" from Sun Microsystems that indicates the file, or parts thereof, cannot be used without written permission of Sun Microsystems. Can you confirm that permission from Sun has been obtained to include this file in the JChart product?
ktpinegar
 
Posts: 4
Joined: Thu Oct 26, 2017 9:03 pm

Re: Licensing question

Postby John Matthews » Fri Oct 27, 2017 12:28 am

I can't find the file in the current version, 1.0.19. Is this the file: http://java.sun.com/dtd/web-app_2_3.dtd?
John Matthews
 
Posts: 388
Joined: Wed Sep 12, 2007 3:18 pm

Re: Licensing question

Postby ktpinegar » Fri Oct 27, 2017 2:39 pm

Thank you for answering. The file is in version jfreechart 1.0.17. It is not the same as the Oracle file you indicated. The licensing text I am seeing is:

Copyright 2000-2001 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303, U.S.A. All rights reserved.

This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or documentation may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any.

Third party software, including font technology, is copyrighted and licensed from Sun suppliers.

Sun, Sun Microsystems, the Sun Logo, Solaris, Java, Java Server Pages, Java Naming and Directory Interface, JDBC, JDK, Java Mail and Enterprise JavaBeans, are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S. and other countries.

All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc.

PostScript is a registered trademark of Adobe Systems, Inc.
Federal Acquisitions: Commercial Software - Government Users Subject to Standard License Terms and Conditions.

DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID
ktpinegar
 
Posts: 4
Joined: Thu Oct 26, 2017 9:03 pm

Re: Licensing question

Postby david.gilbert » Fri Oct 27, 2017 3:44 pm

Hello,

I think you are mistaken. I don't recognise the file you mention, but in any case I downloaded the JFreeChart 1.0.17 release. The output from:

Code: Select all
jfreechart-1.0.17 dgilbert$ find . -name "*.dtd"
jfreechart-1.0.17 dgilbert$


...tells me there is no such file in the distribution.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Ask your company to buy the JFreeChart Developer Guide
:idea: Check out other products sold by my company Object Refinery Limited
david.gilbert
JFreeChart Project Leader
 
Posts: 11653
Joined: Fri Mar 14, 2003 10:29 am

Re: Licensing question

Postby ktpinegar » Fri Oct 27, 2017 4:49 pm

I downloaded the version on sourceforge and found the file in the servlet.jar file.
ktpinegar
 
Posts: 4
Joined: Thu Oct 26, 2017 9:03 pm

Re: Licensing question

Postby david.gilbert » Fri Oct 27, 2017 10:07 pm

The servlet.jar file is in the distribution for sure, although it won't be in future releases. It is mentioned in the README.txt file:

Code: Select all
(c)  servlet.jar - classes in the org.jfree.chart.servlet
package require this file.  The JFreeChart distribution includes the
servlet.jar file distributed with Tomcat 4.1.31.  Applicable license
terms are published at:

    http://java.sun.com/products/servlet/LICENSE
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Ask your company to buy the JFreeChart Developer Guide
:idea: Check out other products sold by my company Object Refinery Limited
david.gilbert
JFreeChart Project Leader
 
Posts: 11653
Joined: Fri Mar 14, 2003 10:29 am

Re: Licensing question

Postby ktpinegar » Mon Oct 30, 2017 10:18 pm

Thank you very much.
ktpinegar
 
Posts: 4
Joined: Thu Oct 26, 2017 9:03 pm


Return to JFreeChart

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 6 guests