./README-builds.html

Print this page




  55                         <ul>
  56                             <li><a href="#bootjdk">Bootstrap JDK</a> </li>
  57                             <li><a href="#binaryplugs">Binary Plugs</a> </li>
  58                             <li><a href="#importjdk">Optional Import JDK</a> </li>
  59                             <li><a href="#ant">Ant</a> </li>
  60                             <li><a href="#cacerts">Certificate Authority File (cacert)</a> </li>
  61                             <li><a href="#compilers">Compilers</a> 
  62                                 <ul>
  63                                     <li><a href="#msvc">Microsoft Visual Studio</a> </li>
  64                                     <li><a href="#mssdk">Microsoft Platform SDK</a> </li>
  65                                     <li><a href="#gcc">Linux gcc/binutils</a> </li>
  66                                     <li><a href="#studio">Sun Studio</a> </li>
  67                                 </ul>
  68                             </li>
  69                             <li><a href="#zip">Zip and Unzip</a> </li>
  70                             <li><a href="#freetype">FreeType2 Fonts</a> </li>
  71                             <li><a href="#jibx">JIBX Libraries</a> </li>
  72                             <li>Linux and Solaris:
  73                                 <ul>
  74                                     <li><a href="#cups">CUPS Include files</a> </li>

  75                                 </ul>
  76                             </li>
  77                             <li>Linux only:
  78                                 <ul>
  79                                     <li><a href="#alsa">ALSA files</a> </li>
  80                                 </ul>
  81                             </li>
  82                             <li>Windows only:
  83                                 <ul>
  84                                     <li>Unix Command Tools (<a href="#cygwin">CYGWIN</a>)</li>
  85                                     <li><a href="#dxsdk">DirectX 9.0 SDK</a> </li>
  86                                 </ul>
  87                             </li>
  88                         </ul>
  89                     </ul>
  90                 </li>
  91                 <li><a href="#creating">Creating the Build</a> </li>
  92                 <li><a href="#testing">Testing the Build</a> </li>
  93                 <li><a href="#variables">Environment/Make Variables</a></li>
  94                 <li><a href="#troubleshooting">Troubleshooting</a></li>


 640                 <li>
 641                     Install the
 642                     <a href="#binaryplugs">Binary Plugs</a>, set
 643                     <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>.
 644                 </li>
 645                 <li>
 646                     <a href="#importjdk">Optional Import JDK</a>, set
 647                     <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>.
 648                 </li>
 649                 <li>
 650                     Install the
 651                     <a href="#studio">Sun Studio Compilers</a>, set
 652                     <a href="#ALT_COMPILER_PATH"><tt>ALT_COMPILER_PATH</tt></a>.
 653                 </li>
 654                 <li>
 655                     Install the
 656                     <a href="#cups">CUPS Include files</a>, set
 657                     <tt><a href="#ALT_CUPS_HEADERS_PATH">ALT_CUPS_HEADERS_PATH</a></tt>.
 658                 </li>
 659                 <li>



 660                     Install the
 661                     <a href="#jibx">JIBX Libraries</a>, set
 662                     <tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>.
 663                 </li>
 664                 <li>
 665                     Install
 666                     <a href="#ant">Ant</a>, 
 667                     make sure it is in your PATH.
 668                 </li>
 669             </ol>
 670         </blockquote>
 671         <!-- ------------------------------------------------------ -->
 672         <hr>
 673         <h3><a name="windows">Basic Windows System Setup</a></h3>
 674         <blockquote> 
 675             <strong>i586 only:</strong>
 676             The minimum recommended hardware for building the 32-bit or X86
 677             Windows version is an Pentium class processor or better, at least
 678             512 MB of RAM, and approximately 600 MB of free disk space.
 679             <strong>


1015                 the package <strong>SFWcups</strong> from the Solaris Software
1016                 Companion CD/DVD, these often will be installed into 
1017                 <tt>/opt/sfw/cups</tt>.
1018                 <p>
1019                 <strong>Linux:</strong>
1020                 CUPS header files are required for building the 
1021                 OpenJDK on Linux.
1022                 The Linux header files are usually available from a "cups"
1023                 development package, it's recommended that you try and use
1024                 the package provided by the particular version of Linux that
1025                 you are using.
1026                 <p>
1027                 The CUPS header files can always be downloaded from 
1028                 <a href="http://www.cups.org" target="_blank">www.cups.org</a>.
1029                 The variable 
1030                 <tt><a href="#ALT_CUPS_HEADERS_PATH">ALT_CUPS_HEADERS_PATH</a></tt>
1031                 can be used to override the default location of the
1032                 CUPS Header files.
1033             </blockquote>
1034             <!-- ------------------------------------------------------ -->





















1035             <h4><a name="freetype">FreeType 2</a></h4>
1036             <blockquote>
1037                 Version 2.3 or newer of FreeType is required for building the OpenJDK.
1038                 On Unix systems required files can be available as part of your
1039                 distribution (while you still may need to upgrade them).
1040                 Note that you need development version of package that 
1041                 includes both FreeType library and header files.
1042                 <p>
1043                 You can always download latest FreeType version from the
1044                 <a href="http://www.freetype.org" target="_blank">FreeType website</a>.
1045                 <p>
1046                 Makefiles will try to pick FreeType from /usr/lib and /usr/include.
1047                 In case it is installed elsewhere you will need to set environment
1048                 variables 
1049                 <tt><a href="#ALT_FREETYPE_LIB_PATH">ALT_FREETYPE_LIB_PATH</a></tt>
1050                 and 
1051                 <tt><a href="#ALT_FREETYPE_HEADERS_PATH">ALT_FREETYPE_HEADERS_PATH</a></tt>
1052                 to refer to place where library and header files are installed.
1053                 <p>
1054                 Building the freetype 2 libraries from scratch is also possible,




  55                         <ul>
  56                             <li><a href="#bootjdk">Bootstrap JDK</a> </li>
  57                             <li><a href="#binaryplugs">Binary Plugs</a> </li>
  58                             <li><a href="#importjdk">Optional Import JDK</a> </li>
  59                             <li><a href="#ant">Ant</a> </li>
  60                             <li><a href="#cacerts">Certificate Authority File (cacert)</a> </li>
  61                             <li><a href="#compilers">Compilers</a> 
  62                                 <ul>
  63                                     <li><a href="#msvc">Microsoft Visual Studio</a> </li>
  64                                     <li><a href="#mssdk">Microsoft Platform SDK</a> </li>
  65                                     <li><a href="#gcc">Linux gcc/binutils</a> </li>
  66                                     <li><a href="#studio">Sun Studio</a> </li>
  67                                 </ul>
  68                             </li>
  69                             <li><a href="#zip">Zip and Unzip</a> </li>
  70                             <li><a href="#freetype">FreeType2 Fonts</a> </li>
  71                             <li><a href="#jibx">JIBX Libraries</a> </li>
  72                             <li>Linux and Solaris:
  73                                 <ul>
  74                                     <li><a href="#cups">CUPS Include files</a> </li>
  75                                     <li><a href="#xrender">XRender Include files</a></li>
  76                                 </ul>
  77                             </li>
  78                             <li>Linux only:
  79                                 <ul>
  80                                     <li><a href="#alsa">ALSA files</a> </li>
  81                                 </ul>
  82                             </li>
  83                             <li>Windows only:
  84                                 <ul>
  85                                     <li>Unix Command Tools (<a href="#cygwin">CYGWIN</a>)</li>
  86                                     <li><a href="#dxsdk">DirectX 9.0 SDK</a> </li>
  87                                 </ul>
  88                             </li>
  89                         </ul>
  90                     </ul>
  91                 </li>
  92                 <li><a href="#creating">Creating the Build</a> </li>
  93                 <li><a href="#testing">Testing the Build</a> </li>
  94                 <li><a href="#variables">Environment/Make Variables</a></li>
  95                 <li><a href="#troubleshooting">Troubleshooting</a></li>


 641                 <li>
 642                     Install the
 643                     <a href="#binaryplugs">Binary Plugs</a>, set
 644                     <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>.
 645                 </li>
 646                 <li>
 647                     <a href="#importjdk">Optional Import JDK</a>, set
 648                     <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>.
 649                 </li>
 650                 <li>
 651                     Install the
 652                     <a href="#studio">Sun Studio Compilers</a>, set
 653                     <a href="#ALT_COMPILER_PATH"><tt>ALT_COMPILER_PATH</tt></a>.
 654                 </li>
 655                 <li>
 656                     Install the
 657                     <a href="#cups">CUPS Include files</a>, set
 658                     <tt><a href="#ALT_CUPS_HEADERS_PATH">ALT_CUPS_HEADERS_PATH</a></tt>.
 659                 </li>
 660                 <li>
 661                     Install the <a href="#xrender">XRender Include files</a></tt>.
 662                 </li>
 663                 <li>
 664                     Install the
 665                     <a href="#jibx">JIBX Libraries</a>, set
 666                     <tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>.
 667                 </li>
 668                 <li>
 669                     Install
 670                     <a href="#ant">Ant</a>, 
 671                     make sure it is in your PATH.
 672                 </li>
 673             </ol>
 674         </blockquote>
 675         <!-- ------------------------------------------------------ -->
 676         <hr>
 677         <h3><a name="windows">Basic Windows System Setup</a></h3>
 678         <blockquote> 
 679             <strong>i586 only:</strong>
 680             The minimum recommended hardware for building the 32-bit or X86
 681             Windows version is an Pentium class processor or better, at least
 682             512 MB of RAM, and approximately 600 MB of free disk space.
 683             <strong>


1019                 the package <strong>SFWcups</strong> from the Solaris Software
1020                 Companion CD/DVD, these often will be installed into 
1021                 <tt>/opt/sfw/cups</tt>.
1022                 <p>
1023                 <strong>Linux:</strong>
1024                 CUPS header files are required for building the 
1025                 OpenJDK on Linux.
1026                 The Linux header files are usually available from a "cups"
1027                 development package, it's recommended that you try and use
1028                 the package provided by the particular version of Linux that
1029                 you are using.
1030                 <p>
1031                 The CUPS header files can always be downloaded from 
1032                 <a href="http://www.cups.org" target="_blank">www.cups.org</a>.
1033                 The variable 
1034                 <tt><a href="#ALT_CUPS_HEADERS_PATH">ALT_CUPS_HEADERS_PATH</a></tt>
1035                 can be used to override the default location of the
1036                 CUPS Header files.
1037             </blockquote>
1038             <!-- ------------------------------------------------------ -->
1039             <h4><a name="xrender">XRender Extension Headers (Solaris &amp; Linux)</a></h4>
1040             <blockquote>
1041                 <p>
1042                 <strong>Solaris:</strong>
1043                 XRender header files are required for building the 
1044                 OpenJDK on Solaris.
1045                 The XRender header file is included with the other X11 header files
1046                 in the package <strong>SFWxwinc</strong> on new enough versions of
1047                 Solaris and will be installed in
1048                 <tt>/usr/X11/include/X11/extensions/Xrender.h</tt>
1049                 </p><p>
1050                 <strong>Linux:</strong>
1051                 XRender header files are required for building the 
1052                 OpenJDK on Linux.
1053                 The Linux header files are usually available from a "Xrender"
1054                 development package, it's recommended that you try and use
1055                 the package provided by the particular distribution of Linux that
1056                 you are using.
1057                 </p>
1058             </blockquote>
1059             <!-- ------------------------------------------------------ -->
1060             <h4><a name="freetype">FreeType 2</a></h4>
1061             <blockquote>
1062                 Version 2.3 or newer of FreeType is required for building the OpenJDK.
1063                 On Unix systems required files can be available as part of your
1064                 distribution (while you still may need to upgrade them).
1065                 Note that you need development version of package that 
1066                 includes both FreeType library and header files.
1067                 <p>
1068                 You can always download latest FreeType version from the
1069                 <a href="http://www.freetype.org" target="_blank">FreeType website</a>.
1070                 <p>
1071                 Makefiles will try to pick FreeType from /usr/lib and /usr/include.
1072                 In case it is installed elsewhere you will need to set environment
1073                 variables 
1074                 <tt><a href="#ALT_FREETYPE_LIB_PATH">ALT_FREETYPE_LIB_PATH</a></tt>
1075                 and 
1076                 <tt><a href="#ALT_FREETYPE_HEADERS_PATH">ALT_FREETYPE_HEADERS_PATH</a></tt>
1077                 to refer to place where library and header files are installed.
1078                 <p>
1079                 Building the freetype 2 libraries from scratch is also possible,