README-builds.html
changeset 7652 803a0c91a1a2
parent 7651 60699c837ea8
child 7876 c2a288bdcca1
equal deleted inserted replaced
7651:60699c837ea8 7652:803a0c91a1a2
    62                         <li><a href="#solaris">Basic Solaris System Setup</a> </li>
    62                         <li><a href="#solaris">Basic Solaris System Setup</a> </li>
    63                         <li><a href="#windows">Basic Windows System Setup</a> </li>
    63                         <li><a href="#windows">Basic Windows System Setup</a> </li>
    64                         <li><a href="#dependencies">Build Dependencies</a>
    64                         <li><a href="#dependencies">Build Dependencies</a>
    65                             <ul>
    65                             <ul>
    66                                 <li><a href="#bootjdk">Bootstrap JDK</a> </li>
    66                                 <li><a href="#bootjdk">Bootstrap JDK</a> </li>
    67                                 <li><a href="#binaryplugs">Binary Plugs</a> </li>
       
    68                                 <li><a href="#importjdk">Optional Import JDK</a> </li>
    67                                 <li><a href="#importjdk">Optional Import JDK</a> </li>
    69                                 <li><a href="#ant">Ant</a> </li>
    68                                 <li><a href="#ant">Ant</a> </li>
    70                                 <li><a href="#cacerts">Certificate Authority File (cacert)</a> </li>
    69                                 <li><a href="#cacerts">Certificate Authority File (cacert)</a> </li>
    71                                 <li><a href="#compilers">Compilers</a>
    70                                 <li><a href="#compilers">Compilers</a>
    72                                     <ul>
    71                                     <ul>
   703                     Install the
   702                     Install the
   704                     <a href="#bootjdk">Bootstrap JDK</a>, set
   703                     <a href="#bootjdk">Bootstrap JDK</a>, set
   705                     <tt><a href="#ALT_BOOTDIR">ALT_BOOTDIR</a></tt>.
   704                     <tt><a href="#ALT_BOOTDIR">ALT_BOOTDIR</a></tt>.
   706                 </li>
   705                 </li>
   707                 <li>
   706                 <li>
   708                     Install the
       
   709                     <a href="#binaryplugs">Binary Plugs</a>, set
       
   710                     <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>.
       
   711                 </li>
       
   712                 <li>
       
   713                     <a href="#importjdk">Optional Import JDK</a>, set
   707                     <a href="#importjdk">Optional Import JDK</a>, set
   714                     <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>.
   708                     <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>.
   715                 </li>
   709                 </li>
   716                 <li>
   710                 <li>
   717                     Install or upgrade the <a href="#freetype">FreeType development
   711                     Install or upgrade the <a href="#freetype">FreeType development
   760             <ol>
   754             <ol>
   761                 <li>
   755                 <li>
   762                     Install the
   756                     Install the
   763                     <a href="#bootjdk">Bootstrap JDK</a>, set
   757                     <a href="#bootjdk">Bootstrap JDK</a>, set
   764                     <tt><a href="#ALT_BOOTDIR">ALT_BOOTDIR</a></tt>.
   758                     <tt><a href="#ALT_BOOTDIR">ALT_BOOTDIR</a></tt>.
   765                 </li>
       
   766                 <li>
       
   767                     Install the
       
   768                     <a href="#binaryplugs">Binary Plugs</a>, set
       
   769                     <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>.
       
   770                 </li>
   759                 </li>
   771                 <li>
   760                 <li>
   772                     <a href="#importjdk">Optional Import JDK</a>, set
   761                     <a href="#importjdk">Optional Import JDK</a>, set
   773                     <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>.
   762                     <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>.
   774                 </li>
   763                 </li>
   852                 </li>
   841                 </li>
   853                 <li>
   842                 <li>
   854                     Install the 
   843                     Install the 
   855                     <a href="#bootjdk">Bootstrap JDK</a>, set
   844                     <a href="#bootjdk">Bootstrap JDK</a>, set
   856                     <tt><a href="#ALT_BOOTDIR">ALT_BOOTDIR</a></tt>.
   845                     <tt><a href="#ALT_BOOTDIR">ALT_BOOTDIR</a></tt>.
   857                 </li>
       
   858                 <li>
       
   859                     Install the
       
   860                     <a href="#binaryplugs">Binary Plugs</a>, set
       
   861                     <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>..
       
   862                 </li>
   846                 </li>
   863                 <li>
   847                 <li>
   864                     <a href="#importjdk">Optional Import JDK</a>, set
   848                     <a href="#importjdk">Optional Import JDK</a>, set
   865                     <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>.
   849                     <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>.
   866                 </li>
   850                 </li>
   921                     Some pre-installed JDK images may be available to you in the
   905                     Some pre-installed JDK images may be available to you in the
   922                     directory <tt>/usr/jdk/instances</tt>.
   906                     directory <tt>/usr/jdk/instances</tt>.
   923                     If you don't set
   907                     If you don't set
   924                     <tt><a href="#ALT_BOOTDIR">ALT_BOOTDIR</a></tt>
   908                     <tt><a href="#ALT_BOOTDIR">ALT_BOOTDIR</a></tt>
   925                     the makefiles will look in that location for a JDK it can use.
   909                     the makefiles will look in that location for a JDK it can use.
   926             </blockquote>
       
   927             <!-- ------------------------------------------------------ -->
       
   928             <h4><a name="binaryplugs">Binary Plugs</a></h4>
       
   929             <blockquote>
       
   930                 Not all of the source code that makes up the JDK is available
       
   931                 under an open-source license.
       
   932                 This is a temporary situation and these binary plugs will be
       
   933                 replaced with fully open source replacements as soon as possible.
       
   934                 So currently, in order to build a complete OpenJDK image,
       
   935                 you must first download and install the appropriate
       
   936                 binary plug bundles for the OpenJDK, go to the
       
   937                 <a href="http://openjdk.java.net" target="_blank">OpenJDK</a> site and select
       
   938                 the 
       
   939                 "<b>Bundles(7)</b>"
       
   940                 link and download the binaryplugs for
       
   941                 your particular platform.
       
   942                 The file downloaded is a jar file that must be extracted by running
       
   943                 the jar file with:
       
   944                 <blockquote>
       
   945                     <pre>
       
   946             <tt><b>java -jar jdk-7-ea-plug-b<i>nn</i>-<i>os</i>-<i>arch</i>-<i>dd</i>_<i>month</i>_<i>year</i>.jar</b></tt>
       
   947                     </pre>
       
   948                 </blockquote>
       
   949                 A prompt will be issued for acceptance of these binary plug files.
       
   950                 During the OpenJDK build process these "binary plugs"
       
   951                 for the encumbered components will be copied into your
       
   952                 resulting OpenJDK binary build image.
       
   953                 These binary plug files are only for the purpose of
       
   954                 building an OpenJDK binary.
       
   955                 Make sure you set
       
   956                 <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>
       
   957                 to the root of this installation.
       
   958             </blockquote>
   910             </blockquote>
   959             <!-- ------------------------------------------------------ -->
   911             <!-- ------------------------------------------------------ -->
   960             <h4><a name="importjdk">Optional Import JDK</a></h4>
   912             <h4><a name="importjdk">Optional Import JDK</a></h4>
   961             <blockquote>
   913             <blockquote>
   962                 The <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>
   914                 The <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>
  1599                     The location of the bootstrap JDK installation. 
  1551                     The location of the bootstrap JDK installation. 
  1600                     See <a href="#bootjdk">Bootstrap JDK</a> for more information.
  1552                     See <a href="#bootjdk">Bootstrap JDK</a> for more information.
  1601                     You should always install your own local Bootstrap JDK and
  1553                     You should always install your own local Bootstrap JDK and
  1602                     always set <tt>ALT_BOOTDIR</tt> explicitly.
  1554                     always set <tt>ALT_BOOTDIR</tt> explicitly.
  1603                 </dd>
  1555                 </dd>
  1604                 <dt><a name="ALT_BINARY_PLUGS_PATH"><tt>ALT_BINARY_PLUGS_PATH</tt></a></dt>
       
  1605                 <dd>
       
  1606                     The location of the binary plugs installation.
       
  1607                     See <a href="#binaryplugs">Binary Plugs</a> for more information.
       
  1608                     You should always have a local copy of a
       
  1609                     recent Binary Plugs install image
       
  1610                     and set this variable to that location.
       
  1611                 </dd>
       
  1612                 <dt><a name="ALT_JDK_IMPORT_PATH"><tt>ALT_JDK_IMPORT_PATH</tt></a></dt>
  1556                 <dt><a name="ALT_JDK_IMPORT_PATH"><tt>ALT_JDK_IMPORT_PATH</tt></a></dt>
  1613                 <dd>
  1557                 <dd>
  1614                     The location of a previously built JDK installation. 
  1558                     The location of a previously built JDK installation. 
  1615                     See <a href="#importjdk">Optional Import JDK</a> for more information.
  1559                     See <a href="#importjdk">Optional Import JDK</a> for more information.
  1616                 </dd>
  1560                 </dd>
  1703                     and
  1647                     and
  1704                     <tt>windows-amd64</tt>.
  1648                     <tt>windows-amd64</tt>.
  1705                     Where each of these directories contain the import JDK image
  1649                     Where each of these directories contain the import JDK image
  1706                     for that platform.
  1650                     for that platform.
  1707                 </dd>
  1651                 </dd>
  1708                 <dt><a name="ALT_BUILD_BINARY_PLUGS_PATH"><tt>ALT_BUILD_BINARY_PLUGS_PATH</tt></a></dt>
       
  1709                 <dd>
       
  1710                     These are useful in managing builds on multiple platforms.
       
  1711                     The default network location for all of the binary plug images
       
  1712                     for all platforms. 
       
  1713                     If <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>
       
  1714                     is not set, this directory will be used and should contain 
       
  1715                     the following directories:
       
  1716                     <tt>solaris-sparc</tt>,
       
  1717                     <tt>solaris-i586</tt>,
       
  1718                     <tt>solaris-sparcv9</tt>,
       
  1719                     <tt>solaris-amd64</tt>,
       
  1720                     <tt>linux-i586</tt>,
       
  1721                     <tt>linux-amd64</tt>,
       
  1722                     <tt>windows-i586</tt>,
       
  1723                     and
       
  1724                     <tt>windows-amd64</tt>.
       
  1725                     Where each of these directories contain the binary plugs image
       
  1726                     for that platform.
       
  1727                 </dd>
       
  1728                 <dt><strong>Windows specific:</strong></dt>
  1652                 <dt><strong>Windows specific:</strong></dt>
  1729                 <dd>
  1653                 <dd>
  1730                     <dl>
  1654                     <dl>
  1731                         <dt><a name="ALT_WINDOWSSDKDIR"><tt>ALT_WINDOWSSDKDIR</tt></a> </dt>
  1655                         <dt><a name="ALT_WINDOWSSDKDIR"><tt>ALT_WINDOWSSDKDIR</tt></a> </dt>
  1732                         <dd>
  1656                         <dd>