<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<appendix id="license-jruby">
  <title>JRuby Licenses</title>

  <para>JRuby is Copyright (c) 2007-2010 The JRuby project, and is released
  under a tri CPL/GPL/LGPL license. You can use it, redistribute it and/or
  modify it under the terms of the:</para>

  <itemizedlist>
    <listitem>
      <para>Common Public License version 1.0</para>
    </listitem>

    <listitem>
      <para>GNU General Public License version 2</para>
    </listitem>

    <listitem>
      <para>GNU Lesser General Public License version 2.1</para>
    </listitem>
  </itemizedlist>

  <para><filename>lib/ruby/1.9/drb/*</filename>,
  <filename>build_lib/bytelist.jar</filename>
  (<uri>http://github.com/jruby/bytelist</uri>),
  <filename>build_lib/jruby-embed.jar</filename>
  (<uri>http://kenai.com/projects/jruby-embed</uri>) and
  <filename>build_lib/yydebug.jar</filename>
  (<uri>http://svn.codehaus.org/jruby/trunk/jay/yydebug</uri>) are released
  under the same copyright/license.</para>

  <para>Some additional libraries distributed with JRuby are not covered by
  JRuby's licence. Most of these libraries and their licenses are listed
  below. Also see LICENSE.RUBY for most files found in
  src/lib/ruby/1.8.</para>

  <para><filename>bench/rails/public/javascripts/*</filename> are distributed
  under the MIT license, and have the following copyrights:</para>

  <para><programlisting>   controls.js is Copyright:
   (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
   (c) 2005-2007 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
   (c) 2005-2007 Jon Tirsen (http://www.tirsen.com)

   dragdrop.js is Copyright:
   (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
   (c) 2005-2007 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz)

   effect.js is Copyright (c) 2005-2008 Thomas Fuchs.

   prototype.js is Copyright (c) 2005-2007 Sam Stephenson.</programlisting><filename>build_lib/*asm*jar</filename>
  (<uri>http://asm.objectweb.org</uri>) are distributed under the BSD
  license.</para>

  <para><filename>build_lib/apt-mirror-api.jar</filename>,
  <filename>build_lib/bnd-0.0.249.jar</filename>,
  <filename>build_lib/commons-logging-1.1.1.jar</filename>,
  <filename>build_lib/joda-time-1.5.1.jar</filename>, BSF and ant are
  distributed under the Apache Software License, Version 1.1 (license file
  inside the jars).</para>

  <para><filename>build_lib/constantine.jar</filename>
  (<uri>http://kenai.com/projects/constantine</uri>),
  <filename>build_lib/jcodings.jar</filename>
  (<uri>http://github.com/jruby/jcodings</uri>),
  <filename>build_lib/jaffl.jar</filename>
  (<uri>http://projectkenai.com/projects/jaffl</uri>) and
  <filename>build_lib/joni.jar</filename>
  (<uri>http://github.com/jruby/joni</uri>) are distributed under the MIT
  license.</para>

  <para><filename>build_lib/jarjar-1.0rc8.jar</filename>
  (<uri>http://code.google.com/p/jarjar</uri>),
  <filename>build_lib/joda-time-1.5.1.jar</filename>
  (<uri>http://joda-time.sourceforge.net</uri>),
  <filename>build_lib/dynalang-0.3.jar</filename>
  (<uri>http://dynalang.sourceforge.net</uri>),
  <filename>build_lib/nailgun-0.7.1.jar</filename> and
  <filename>tool/nailgun/ng.exe</filename>
  (<uri>http://martiansoftware.com/nailgun</uri>) are distributed under the
  Apache License version 2.0.</para>

  <para><filename>build_lib/emma*jar</filename>
  (<uri>http://emma.sourceforge.net</uri>) and
  <filename>build_lib/junit.jar</filename> (<uri>http://www.junit.org</uri>)
  are distributed under the Common Public License v1.0.</para>

  <para><filename>build_lib/jffi*jar</filename>
  (<uri>http://kenai.com/projects/jffi</uri>) and
  <filename>build_lib/jgrapht-jdk1.5.jar</filename>
  (<uri>http://jgrapht.sourceforge.net</uri>) are distributed under the GPL
  v3.</para>

  <para><filename>build_lib/jline-0.9.93</filename>
  (<uri>http://jline.sourceforge.net</uri>) is distributed under the following
  license:</para>

  <para><programlisting>Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the following
conditions are met:

Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with
the distribution.

Neither the name of JLine nor the names of its contributors
may be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.</programlisting></para>

  <para><filename>build_lib/jna*jar</filename>
  (<uri>http://jna.dev.java.net</uri>) are distributed under the LGPL-2.1+
  license.</para>

  <para><filename>build_lib/invokedynamic.jar</filename> and
  bui<filename>ld_lib/jsr292-mock.jar</filename>
  (<uri>http://code.google.com/p/jvm-language-runtime</uri>) are distributed
  under the LGPL license. </para>

  <para>Bouncycastle is released under the MIT license, and is Copyright (c)
  2000 - 2006 The Legion Of The Bouncy Castle.</para>

  <para>Jyvaml and rbyaml are released under the MIT license, and are
  Copyright (c) 2006 Ola Bini.</para>
</appendix>
