DEVELOPMENT VERSION: This is an experimental DALICC environment. Features, data and APIs may change or be reset without notice. A stable version of this service, with a potentially different feature set, will be made available soon at dalicc.net.

GNU General Public License v2.0 or later with Classpath exception 2.0

The same license with an exception of GNU General Public License v2.0 or later. A variant models the same legal text with one thing changed, so it is a license of its own with an address of its own and it is listed like any other.


Also known as GNU General Public License v2.0 or later with Classpath exception 2.0, GPL-2.0+ with Classpath exception, GPL-2.0-or-later WITH Classpath-exception-2.0, GPL-2.0-or-later-with-Classpath-exception-2.0, GPLv2 or later with Classpath exception.

Commercial use
allowed
Share alike
required
Attribution
required (keep the copyright and license notices)

Write this as a license text (needs an account) DALICC reads the model above and writes what it permits, requires and prohibits in plain English. Without an account, the Text download above writes the model out from the vocabulary.

Canonical URI https://dalicc.net/licenselibrary/GPL-2.0-or-later-with-Classpath-exception-2.0

Permissions

  • Charge distribution fee from the text Charging a fee for the act of providing a copy of the work to someone else.
  • Commercial use from the text Using the work to generate income, directly or indirectly, for example by selling it or by using it in advertising.
  • Derivative works from the text Distributing an adaptation of the work and making it available to the public.
  • Derive from the text Creating a new work from the work, such as a translation, adaptation or arrangement of it or of a part of it.

    Duties

    • Attribution from the text Giving credit to the copyright holders or authors of the work, in the form the licensor asks for.
    • Modification notice from the text The text says: "You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change." Marking a changed work as changed, saying how it differs from the original and keeping earlier notices of change.
    • Notice from the text Notice: keeping the license and copyright notices with every copy.
    • Source code from the text Providing access to the source code of the work with every copy distributed.
  • Display from the text Showing the work to the public without making a copy the viewer keeps.
  • Distribute from the text Providing copies of the work to the public or to anyone else.

    Duties

    • Attribution from the text Giving credit to the copyright holders or authors of the work, in the form the licensor asks for.
    • Notice from the text Notice: keeping the license and copyright notices with every copy.
    • Source code from the text Providing access to the source code of the work with every copy distributed.
  • Excepted combination from the text Combining or linking the covered work with the material an exception names and conveying the result without the condition the exception lifts.
  • Modified works from the text Distributing a modified version of the work that does not amount to a new, derivative work.
  • Modify from the text Altering the work, for example by updating it, without creating a new work; an alteration that creates a new work is Derive.

    Duties

    • Attribution from the text Giving credit to the copyright holders or authors of the work, in the form the licensor asks for.
    • Modification notice from the text The text says: "You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change." Marking a changed work as changed, saying how it differs from the original and keeping earlier notices of change.
    • Notice from the text Notice: keeping the license and copyright notices with every copy.
    • Source code from the text Providing access to the source code of the work with every copy distributed.
  • Present from the text Performing the work in public, including by broadcast or other communication to the public.
  • Reproduce from the text The text says: "You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee." Making copies of the work in any form.

Prohibitions

  • Change license from the text Not permitted: Change license. Replacing the license of the work, or of an adaptation, with another license, or changing its terms.

License-wide duties

  • Share alike from the text The text says: "You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License." Adaptations have to be licensed under the same license or one the license names as compatible.

What applies by default

The statements above are the library's reading of this license: each is marked with the sentence it rests on, or as a library convention where the text is not explicit. The statements below are the ones the DALICC reasoner supplies for acts the license says nothing about, from the default rules of the dependency graph it reasons with. Each one names the legal source it rests on. None of it is in the record.

  • Promote by default rule (adopted) Using the name or trademarks of the licensor or of contributors to endorse or promote a product.

    This license says nothing about Promote, and the graph applies this reading in all jurisdictions it covers: it is not permitted unless the license permits it.

    A licence that says nothing about endorsement is read as not allowing it: the licence gives the licensee no right to use the licensor's name or marks in a way that states or implies that the licensor endorses the licensee or its product, while stating truthfully that a work is based on or uses the licensed work is a different act that this rule does not decide. A copyright licence grants rights in the work, and the right to use a name or a trademark is a separate right under trademark law and the protection of names, which a silent copyright licence does not pass on. Combining a licence that is silent about endorsement with one that permits it shows a conflict marked as coming from this rule.

    Basis Trademark and name rights are separate from copyright: Regulation (EU) 2017/1001 article 9 lets the proprietor of an EU trade mark prevent all third parties not having his consent from using the sign in the course of trade, and Directive (EU) 2015/2436 article 10, 15 U.S.C. 1114 and 1125(a), section 12 BGB and section 43 ABGB protect marks and names in the same way. The library's evidence is Creative Commons 4.0 section 2(b)(2): Patent and trademark rights are not licensed under this Public License. A copyright licence that is silent grants no right to use the licensor's name or marks to suggest endorsement (Worldwide)

Further terms

These are the things the license says about itself beyond the acts it permits, forbids and requires: when it ends, how long there is to put a breach right, which law governs it, and so on. A term that comes from the DALICC vocabulary links to its definition.

Or later version option
Yes
Reciprocity scope
the covered files, not an independent module that links to them
Terminates on breach
Yes

Clauses

Warranty disclaimer

BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

Limitation of liability

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Accepting warranty or additional liability

You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.

Additional clauses

Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

Info

Target asset types
Software
Region / jurisdiction
Worldwide
Validity
Perpetual
Source
https://spdx.org/licenses/Classpath-exception-2.0.html
Legal code
https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
This description is published under
Creative Commons Attribution 4.0 International
Publisher
Free Software Foundation
SPDX identifier
GPL-2.0-or-later WITH Classpath-exception-2.0 on the SPDX license list
Version
2.0
DALICC identifier
GPL-2.0-or-later-with-Classpath-exception-2.0

This record is published under CC BY 4.0. Credit it as: DALICC License Library, DALICC - Verein zur Förderung der Rechtssicherheit in der Datenbewirtschaftung, https://dalicc.net, CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). The license it describes belongs to its publisher.

Use this license

Everything below is generated from this record. Replace the example address with the address of your own work.

JSON sidecar

{
  "license-uri": "https://dalicc.net/licenselibrary/GPL-2.0-or-later-with-Classpath-exception-2.0",
  "license-title": "GNU General Public License v2.0 or later with Classpath exception 2.0",
  "spdx-id": "GPL-2.0-or-later WITH Classpath-exception-2.0",
  "attribution": "Copyright (c) [year] [copyright holder]",
  "asset": null,
  "generated-by": "DALICC"
}

RDF, Turtle

@prefix cc: <http://creativecommons.org/ns#> .

<https://example.org/my-work>
    cc:license <https://dalicc.net/licenselibrary/GPL-2.0-or-later-with-Classpath-exception-2.0> .

RDF, JSON-LD

{
  "@context": {
    "cc": "http://creativecommons.org/ns#"
  },
  "@id": "https://example.org/my-work",
  "cc:license": {
    "@id": "https://dalicc.net/licenselibrary/GPL-2.0-or-later-with-Classpath-exception-2.0"
  }
}

HTML attribution

<p>This work is licensed under <a href="https://dalicc.net/licenselibrary/GPL-2.0-or-later-with-Classpath-exception-2.0" rel="license">GNU General Public License v2.0 or later with Classpath exception 2.0</a>.</p>

This license asks for attribution, so the credit line is part of it.

Badge DALICC badge for GNU General Public License v2.0 or later with Classpath exception 2.0

Markdown

[![License: GNU General Public License v2.0 or later with Classpath exception 2.0](https://dalicc.net/license-library/GPL-2.0-or-later-with-Classpath-exception-2.0/badge.svg)](https://dalicc.net/license-library/GPL-2.0-or-later-with-Classpath-exception-2.0)

HTML

<a href="https://dalicc.net/license-library/GPL-2.0-or-later-with-Classpath-exception-2.0"><img src="https://dalicc.net/license-library/GPL-2.0-or-later-with-Classpath-exception-2.0/badge.svg" alt="License: GNU General Public License v2.0 or later with Classpath exception 2.0"></a>

Review

Written from the license text by
Giray Havur
Written on
2026-09-22
Second review
not yet done
Record changed since this review
yes (version 2, 2026-09-24)
Findings
15 recorded, 14 applied to the record, 0 proposed

The record models GPL version 2 or later with the Classpath exception 2.0, the combination GNU Classpath and much of the Java world use. It keeps every statement of the GPL-2.0-or-later record and adds one permission for an independent module that is linked with the library. The share-alike duty still reaches the library itself, which dalicc:reciprocityScope states.

15 findings
  • info Rubric 1 spdx:licenseId applied

    File name, record identifier, IRI local name and title agree. spdx:licenseId carries the SPDX expression "GPL-2.0-or-later WITH Classpath-exception-2.0": the base identifier, one space, WITH in capitals, one space, the exception identifier. No record in the library carried an expression before, so the SPDX mapping and the spdx route have to accept the space and the keyword.

  • info Rubric 1 cc:legalcode applied

    cc:legalcode points at the text of the base licence, https://www.gnu.org/licenses/old-licenses/gpl-2.0.html, because that is the licence the record models. dct:source points at the SPDX page of the exception, https://spdx.org/licenses/Classpath-exception-2.0.html, because that is where the additional permission is published.

  • info Rubric 2 odrl:target applied

    odrl:target is the one the base record carries: an odrl:AssetCollection of dct:type dcmitype:Software. The exception is about program files, so nothing changes.

  • major Rubric 3 odrl:permission applied

    The exception reads: "As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module." The independent module and the executable are material the share-alike condition no longer reaches, which is the permission dalicc:exceptedCombination.

  • info Rubric 3 odrl:permission applied

    Every permission of GPL-2.0-or-later is kept, in the same place and with the same duties. An exception adds an additional permission to a licence; it never takes a granted right away.

  • info Rubric 4 odrl:prohibition applied

    The exception lets the combined result travel under other terms, and the vocabulary cannot say that of a part of a work. The exception says of the executable: "to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module". A dalicc:ChangeLicense permission would say the licence of the covered work itself may be replaced, which is false and would contradict the whole-work share-alike duty. The record therefore keeps the prohibition, states the narrowed reach in dalicc:reciprocityScope and quotes the clause. Proposed term: dalicc:combinedWorkRelicensing, a permission for putting a larger work that contains the covered material under other terms.

  • info Rubric 5 odrl:duty applied

    The licence-wide cc:ShareAlike duty stays on the odrl:Set. The first paragraph of the exception says why it has to: "Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination." The exception then lifts that result for independent modules only.

  • info Rubric 6 dalicc:additionalClauses applied

    The exception text is quoted verbatim as one literal, taken from https://raw.githubusercontent.com/spdx/license-list-data/main/text/Classpath-exception-2.0.txt. Line breaks and the indentation of the source file are collapsed to single spaces, which is how every clause literal in the library is written; the wording is untouched. The warranty disclaimer and the liability limitation are the ones the base record quotes from the base licence.

  • info Rubric 7 cc:jurisdiction applied

    cc:jurisdiction stays dalicc:worldwide and dalicc:validityType stays dalicc:perpetual: the exception names no territory and no term. The termination clause of the base licence still applies, and the record says no more about it than the base record does.

  • gap Rubric 8 dalicc:exceptedCombination applied

    The exception carves the combination out of the condition of the licence, not out of its grant. dalicc:exemptedMaterial says the opposite and is prohibited on OGL-UK-1.0, OGL-UK-2.0 and NLOD-2.0, where it means material the licence never granted. The vocabulary defines dalicc:exceptedCombination for this side of it since 2026-09-23, and the record carries it as a permission.

  • gap Rubric 8 dalicc:additionalClauses none

    The exception is optional for a modified version of the library: "If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version." The vocabulary cannot say that an additional permission travels only as far as each licensor carries it. Proposed term: dalicc:exceptionRemovable.

  • info Rubric 9 record applied

    app.services.composer.consistency_check with the default dependency graph reports 0 conflicts for this record. dalicc:exceptedCombination takes part in no dependency relation, so it neither creates nor hides one.

  • major Rubric 10 dalicc:variantOf applied

    The base record of this variant is GPL-2.0-or-later, which this same addition creates. The model is copied from it statement for statement, so dalicc:orLaterVersionOption stays true for the clause GPL version 2 section 9 states: "If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation." dalicc:variantOf points at GPL-2.0-or-later and not at GPL-2.0-only, although the two carry the same deontic model. Both records are new, so a second reader should read them together.

  • info Rubric 10 record applied

    The nearest sibling is GPL-2.0-only-with-Classpath-exception-2.0, the same exception on the version without the option, which this addition creates in another set of records. The two records must differ only in the identifier, the title, the alternatives, dalicc:orLaterVersionOption and dalicc:variantOf.

  • minor Rubric 4 odrl:prohibition applied

    dalicc:promote was prohibited and no sentence of this text supports it. The statement was the library's reading of a legal default, that a copyright licence which says nothing about endorsement grants no right to it, and it sat in 519 of 581 records as a house convention. That reading is now an adopted dalicc:DefaultRule of the core dependency graph, which supplies it to every licence that is silent about the action, so a compatibility check reaches the same answer and the record states only what the text states. Removed on 2026-09-23; see section 13 of docs/LICENSE_REVIEW.md.

Report an issue The review record as JSON The review checks the model against the license text. It is not legal advice.

History

This license model has 2 versions. Version 2 is the one served today; every earlier version keeps its own address, so a conclusion drawn from one of them can still be checked against it.

  1. Version 2 current2026-09-24 Giray Havur

    The changes since version 1 left endorsement to the default rule of the core dependency graph, recorded which sentence of the text each statement rests on and named the license the record itself is published under.

    6 changes
    • removed prohibition dalicc:promote

      Manual edit The endorsement prohibition rested on no sentence of the text; the default rule for endorsement now supplies it.

    • changed duty cc:ShareAlike

      was duty cc:ShareAlike

      Manual edit The statement now quotes the sentence of the licence text it rests on: "You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License."

    • changed permission odrl:derive with duties [cc:Attribution, cc:Notice, cc:SourceCode, dalicc:modificationNotice]

      was permission odrl:derive with duties [cc:Attribution, cc:Notice, cc:SourceCode, dalicc:modificationNotice]

      Manual edit Its duty dalicc:modificationNotice quotes "You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change."

    • changed permission odrl:modify with duties [cc:Attribution, cc:Notice, cc:SourceCode, dalicc:modificationNotice]

      was permission odrl:modify with duties [cc:Attribution, cc:Notice, cc:SourceCode, dalicc:modificationNotice]

      Manual edit Its duty dalicc:modificationNotice quotes "You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change."

    • changed permission odrl:reproduce

      was permission odrl:reproduce

      Manual edit The statement now quotes the sentence of the licence text it rests on: "You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee."

    • added dct:license <https://creativecommons.org/licenses/by/4.0/>

      Manual edit Every record is published under CC BY 4.0. cc:license names the record DALICC keeps of that licence; dct:license now names it by the address Creative Commons publishes it at, so that a consumer matching the canonical IRI finds it.

  2. Version 1

    Created from the license text on 2026-09-22 (GNU copyleft family (GPL, LGPL, AGPL, FDL)).

Every change names the reason behind it: a finding of the content review, one of its library-wide decisions, the metadata that review wrote onto every record, or a hand edit. None of it is legal advice.

Nothing on this page is legal advice. What a license means is decided by its text; ask a legal advisor before you rely on it.