424 <td>
425 Install all the software development
426 packages needed including
427 <a href="#studio">Studio Compilers</a>,
428 <a href="#freetype">freetype</a>,
429 <a href="#cups">cups</a>, and
430 <a href="#xrender">xrender</a>.
431 <br>
432 See
433 <a href="#SDBE">specific system packages</a>.
434 </td>
435 <td>
436 <ul>
437 <li>
438 Install one of
439 <a href="#cygwin">CYGWIN</a> or
440 <a href="#msys">MinGW/MSYS</a>
441 </li>
442 <li>
443 Install
444 <a href="#vs2010">Visual Studio 2010</a>
445 </li>
446 </ul>
447 </td>
448 <td>
449 Install
450 <a href="https://developer.apple.com/xcode/">XCode 4.5.2</a>
451 and also install the "Command line tools" found under the
452 preferences pane "Downloads"
453 </td>
454 </tr>
455 </tbody>
456 </table>
457
458 <h4><a name="linux">Linux</a></h4>
459 <blockquote>
460 With Linux, try and favor the system packages over
461 building your own
462 or getting packages from other areas.
463 Most Linux builds should be possible with the system's
464 available packages.
733 use forward slashes as parameter separator (e.g. <code>cl /nologo /I</code>)
734 because MSYS may wrongly <a href="http://mingw.org/wiki/Posix_path_conversion">
735 replace such parameters by drive letters</a>.
736 </p>
737 <p>
738 In addition to the tools which will be installed
739 by default, you have
740 to manually install the
741 <code>msys-zip</code> and
742 <code>msys-unzip</code> packages.
743 This can be easily done with the MinGW command line installer:
744 <blockquote>
745 <code>mingw-get.exe install msys-zip</code>
746 <br>
747 <code>mingw-get.exe install msys-unzip</code>
748 </blockquote>
749 </blockquote>
750
751 </blockquote>
752
753 <h5><a name="vs2010">Visual Studio 2010 Compilers</a></h5>
754 <blockquote>
755 <p>
756 The 32-bit and 64-bit OpenJDK Windows build requires
757 Microsoft Visual Studio C++ 2010 (VS2010) Professional
758 Edition or Express compiler.
759 The compiler and other tools are expected to reside
760 in the location defined by the variable
761 <code>VS100COMNTOOLS</code> which
762 is set by the Microsoft Visual Studio installer.
763 </p>
764 <p>
765 Only the C++ part of VS2010 is needed.
766 Try to let the installation go to the default
767 install directory.
768 Always reboot your system after installing VS2010.
769 The system environment variable VS100COMNTOOLS
770 should be
771 set in your environment.
772 </p>
773 <p>
774 Make sure that TMP and TEMP are also set
775 in the environment
776 and refer to Windows paths that exist,
777 like <code>C:\temp</code>,
778 not <code>/tmp</code>, not <code>/cygdrive/c/temp</code>,
779 and not <code>C:/temp</code>.
780 <code>C:\temp</code> is just an example,
781 it is assumed that this area is
782 private to the user, so by default
783 after installs you should
784 see a unique user path in these variables.
785 </p>
786 </blockquote>
787
788
789 </blockquote> <!-- Windows -->
1023 server, client, kernel, zero and zeroshark
1024 </td>
1025 </tr>
1026 <tr>
1027 <td><b><code>--with-memory-size=</code></b><i>size</i></td>
1028 <td>
1029 select the RAM size that GNU make will think
1030 this system has
1031 </td>
1032 </tr>
1033 <tr>
1034 <td><a name="msvcrNN"><b><code>--with-msvcr-dll=</code></b><i>path</i></a></td>
1035 <td>
1036 select the <code>msvcr100.dll</code>
1037 file to include in the
1038 Windows builds (C/C++ runtime library for
1039 Visual Studio).
1040 <br>
1041 This is usually picked up automatically
1042 from the redist
1043 directories of Visual Studio 2010.
1044 </td>
1045 </tr>
1046 <tr>
1047 <td><b><code>--with-num-cores=</code></b><i>cores</i></td>
1048 <td>
1049 select the number of cores to use (processor
1050 count or CPU count)
1051 </td>
1052 </tr>
1053 <tr>
1054 <td><b><code>--with-x=</code></b><i>path</i></td>
1055 <td>
1056 select the location of the X11 and xrender files.
1057 <br>
1058 The
1059 <a name="xrender">XRender Extension Headers</a>
1060 are required for building the
1061 OpenJDK on Solaris and Linux.
1062 <br>
1063 The Linux header files are usually available from a "Xrender"
1837 <code>/usr/include</code> or system header files is also a
1838 common problem with older, newer, or unreleased OS versions.
1839 Please report these types of problems as bugs so that they
1840 can be dealt with accordingly.
1841 </p>
1842 <table border="1">
1843 <thead>
1844 <tr>
1845 <th>Base OS and Architecture</th>
1846 <th>OS</th>
1847 <th>C/C++ Compiler</th>
1848 <th>Bootstrap JDK</th>
1849 <th>Processors</th>
1850 <th>RAM Minimum</th>
1851 <th>DISK Needs</th>
1852 </tr>
1853 </thead>
1854 <tbody>
1855 <tr>
1856 <td>Linux X86 (32-bit) and X64 (64-bit)</td>
1857 <td>Fedora 9</td>
1858 <td>gcc 4.3 </td>
1859 <td>JDK 7u7</td>
1860 <td>2 or more</td>
1861 <td>1 GB</td>
1862 <td>6 GB</td>
1863 </tr>
1864 <tr>
1865 <td>Solaris SPARC (32-bit) and SPARCV9 (64-bit)</td>
1866 <td>Solaris 10 Update 6</td>
1867 <td>Studio 12 Update 1 + patches</td>
1868 <td>JDK 7u7</td>
1869 <td>4 or more</td>
1870 <td>4 GB</td>
1871 <td>8 GB</td>
1872 </tr>
1873 <tr>
1874 <td>Solaris X86 (32-bit) and X64 (64-bit)</td>
1875 <td>Solaris 10 Update 6</td>
1876 <td>Studio 12 Update 1 + patches</td>
1877 <td>JDK 7u7</td>
1878 <td>4 or more</td>
1879 <td>4 GB</td>
1880 <td>8 GB</td>
1881 </tr>
1882 <tr>
1883 <td>Windows X86 (32-bit)</td>
1884 <td>Windows XP</td>
1885 <td>Microsoft Visual Studio C++ 2010 Professional Edition</td>
1886 <td>JDK 7u7</td>
1887 <td>2 or more</td>
1888 <td>2 GB</td>
1889 <td>6 GB</td>
1890 </tr>
1891 <tr>
1892 <td>Windows X64 (64-bit)</td>
1893 <td>Windows Server 2003 - Enterprise x64 Edition</td>
1894 <td>Microsoft Visual Studio C++ 2010 Professional Edition</td>
1895 <td>JDK 7u7</td>
1896 <td>2 or more</td>
1897 <td>2 GB</td>
1898 <td>6 GB</td>
1899 </tr>
1900 <tr>
1901 <td>Mac OS X X64 (64-bit)</td>
1902 <td>Mac OS X 10.7 "Lion"</td>
1903 <td>XCode 4.5.2 or newer</td>
1904 <td>JDK 7u7</td>
1905 <td>2 or more</td>
1906 <td>4 GB</td>
1907 <td>6 GB</td>
1908 </tr>
1909 </tbody>
1910 </table>
1911 </blockquote>
1912
1913 <!-- ====================================================== -->
1914 <hr>
1915 <h3><a name="SDBE">Specific Developer Build Environments</a></h3>
1916 <blockquote>
1917 We won't be listing all the possible environments, but
1918 we will try to provide what information we have available to us.
1919 <p>
1920 <strong>NOTE: The community can help out by updating
1921 this part of the document.
1922 </strong>
1923
1924 <h4><a name="fedora">Fedora</a></h4>
|
424 <td>
425 Install all the software development
426 packages needed including
427 <a href="#studio">Studio Compilers</a>,
428 <a href="#freetype">freetype</a>,
429 <a href="#cups">cups</a>, and
430 <a href="#xrender">xrender</a>.
431 <br>
432 See
433 <a href="#SDBE">specific system packages</a>.
434 </td>
435 <td>
436 <ul>
437 <li>
438 Install one of
439 <a href="#cygwin">CYGWIN</a> or
440 <a href="#msys">MinGW/MSYS</a>
441 </li>
442 <li>
443 Install
444 <a href="#vs2013">Visual Studio 2013</a>
445 </li>
446 </ul>
447 </td>
448 <td>
449 Install
450 <a href="https://developer.apple.com/xcode/">XCode 4.5.2</a>
451 and also install the "Command line tools" found under the
452 preferences pane "Downloads"
453 </td>
454 </tr>
455 </tbody>
456 </table>
457
458 <h4><a name="linux">Linux</a></h4>
459 <blockquote>
460 With Linux, try and favor the system packages over
461 building your own
462 or getting packages from other areas.
463 Most Linux builds should be possible with the system's
464 available packages.
733 use forward slashes as parameter separator (e.g. <code>cl /nologo /I</code>)
734 because MSYS may wrongly <a href="http://mingw.org/wiki/Posix_path_conversion">
735 replace such parameters by drive letters</a>.
736 </p>
737 <p>
738 In addition to the tools which will be installed
739 by default, you have
740 to manually install the
741 <code>msys-zip</code> and
742 <code>msys-unzip</code> packages.
743 This can be easily done with the MinGW command line installer:
744 <blockquote>
745 <code>mingw-get.exe install msys-zip</code>
746 <br>
747 <code>mingw-get.exe install msys-unzip</code>
748 </blockquote>
749 </blockquote>
750
751 </blockquote>
752
753 <h5><a name="vs2013">Visual Studio 2013 Compilers</a></h5>
754 <blockquote>
755 <p>
756 The 32-bit and 64-bit OpenJDK Windows build requires
757 Microsoft Visual Studio C++ 2013 (VS2013) Professional
758 Edition or Express compiler.
759 The compiler and other tools are expected to reside
760 in the location defined by the variable
761 <code>VS120COMNTOOLS</code> which
762 is set by the Microsoft Visual Studio installer.
763 </p>
764 <p>
765 Only the C++ part of VS2013 is needed.
766 Try to let the installation go to the default
767 install directory.
768 Always reboot your system after installing VS2013.
769 The system environment variable VS120COMNTOOLS
770 should be
771 set in your environment.
772 </p>
773 <p>
774 Make sure that TMP and TEMP are also set
775 in the environment
776 and refer to Windows paths that exist,
777 like <code>C:\temp</code>,
778 not <code>/tmp</code>, not <code>/cygdrive/c/temp</code>,
779 and not <code>C:/temp</code>.
780 <code>C:\temp</code> is just an example,
781 it is assumed that this area is
782 private to the user, so by default
783 after installs you should
784 see a unique user path in these variables.
785 </p>
786 </blockquote>
787
788
789 </blockquote> <!-- Windows -->
1023 server, client, kernel, zero and zeroshark
1024 </td>
1025 </tr>
1026 <tr>
1027 <td><b><code>--with-memory-size=</code></b><i>size</i></td>
1028 <td>
1029 select the RAM size that GNU make will think
1030 this system has
1031 </td>
1032 </tr>
1033 <tr>
1034 <td><a name="msvcrNN"><b><code>--with-msvcr-dll=</code></b><i>path</i></a></td>
1035 <td>
1036 select the <code>msvcr100.dll</code>
1037 file to include in the
1038 Windows builds (C/C++ runtime library for
1039 Visual Studio).
1040 <br>
1041 This is usually picked up automatically
1042 from the redist
1043 directories of Visual Studio 2013.
1044 </td>
1045 </tr>
1046 <tr>
1047 <td><b><code>--with-num-cores=</code></b><i>cores</i></td>
1048 <td>
1049 select the number of cores to use (processor
1050 count or CPU count)
1051 </td>
1052 </tr>
1053 <tr>
1054 <td><b><code>--with-x=</code></b><i>path</i></td>
1055 <td>
1056 select the location of the X11 and xrender files.
1057 <br>
1058 The
1059 <a name="xrender">XRender Extension Headers</a>
1060 are required for building the
1061 OpenJDK on Solaris and Linux.
1062 <br>
1063 The Linux header files are usually available from a "Xrender"
1837 <code>/usr/include</code> or system header files is also a
1838 common problem with older, newer, or unreleased OS versions.
1839 Please report these types of problems as bugs so that they
1840 can be dealt with accordingly.
1841 </p>
1842 <table border="1">
1843 <thead>
1844 <tr>
1845 <th>Base OS and Architecture</th>
1846 <th>OS</th>
1847 <th>C/C++ Compiler</th>
1848 <th>Bootstrap JDK</th>
1849 <th>Processors</th>
1850 <th>RAM Minimum</th>
1851 <th>DISK Needs</th>
1852 </tr>
1853 </thead>
1854 <tbody>
1855 <tr>
1856 <td>Linux X86 (32-bit) and X64 (64-bit)</td>
1857 <td>Oracle Enterprise Linux 6.4</td>
1858 <td>gcc 4.8.2 </td>
1859 <td>JDK 8</td>
1860 <td>2 or more</td>
1861 <td>1 GB</td>
1862 <td>6 GB</td>
1863 </tr>
1864 <tr>
1865 <td>Solaris SPARCV9 (64-bit)</td>
1866 <td>Solaris 10 Update 10</td>
1867 <td>Studio 12 Update 3 + patches</td>
1868 <td>JDK 8</td>
1869 <td>4 or more</td>
1870 <td>4 GB</td>
1871 <td>8 GB</td>
1872 </tr>
1873 <tr>
1874 <td>Solaris X64 (64-bit)</td>
1875 <td>Solaris 10 Update 10</td>
1876 <td>Studio 12 Update 3 + patches</td>
1877 <td>JDK 8</td>
1878 <td>4 or more</td>
1879 <td>4 GB</td>
1880 <td>8 GB</td>
1881 </tr>
1882 <tr>
1883 <td>Windows X86 (32-bit)</td>
1884 <td>Windows Server 2012 R2 x64</td>
1885 <td>Microsoft Visual Studio C++ 2013 Professional Edition</td>
1886 <td>JDK 8</td>
1887 <td>2 or more</td>
1888 <td>2 GB</td>
1889 <td>6 GB</td>
1890 </tr>
1891 <tr>
1892 <td>Windows X64 (64-bit)</td>
1893 <td>Windows Server 2012 R2 x64</td>
1894 <td>Microsoft Visual Studio C++ 2013 Professional Edition</td>
1895 <td>JDK 8</td>
1896 <td>2 or more</td>
1897 <td>2 GB</td>
1898 <td>6 GB</td>
1899 </tr>
1900 <tr>
1901 <td>Mac OS X X64 (64-bit)</td>
1902 <td>Mac OS X 10.9 "Mavericks"</td>
1903 <td>XCode 5.1.1 or newer</td>
1904 <td>JDK 8</td>
1905 <td>2 or more</td>
1906 <td>4 GB</td>
1907 <td>6 GB</td>
1908 </tr>
1909 </tbody>
1910 </table>
1911 </blockquote>
1912
1913 <!-- ====================================================== -->
1914 <hr>
1915 <h3><a name="SDBE">Specific Developer Build Environments</a></h3>
1916 <blockquote>
1917 We won't be listing all the possible environments, but
1918 we will try to provide what information we have available to us.
1919 <p>
1920 <strong>NOTE: The community can help out by updating
1921 this part of the document.
1922 </strong>
1923
1924 <h4><a name="fedora">Fedora</a></h4>
|