README-builds.html
changeset 5586 5bcd7734900b
parent 5397 66dfbaa7d18f
child 5660 1cc5e6b39ea8
equal deleted inserted replaced
5585:b622f069ee7d 5586:5bcd7734900b
   181                         <td>JDK 6u14 FCS </td>
   181                         <td>JDK 6u14 FCS </td>
   182                     </tr>
   182                     </tr>
   183                     <tr>
   183                     <tr>
   184                         <td>Windows X86 (32-bit)</td>
   184                         <td>Windows X86 (32-bit)</td>
   185                         <td>Windows XP</td>
   185                         <td>Windows XP</td>
   186                         <td>Microsoft Visual Studio C++ 2008 Standard Edition</td>
   186                         <td>Microsoft Visual Studio C++ 2010 Professional Edition</td>
   187                         <td>JDK 6u14 FCS </td>
   187                         <td>JDK 6u14 FCS </td>
   188                     </tr>
   188                     </tr>
   189                     <tr>
   189                     <tr>
   190                         <td>Windows X64 (64-bit)</td>
   190                         <td>Windows X64 (64-bit)</td>
   191                         <td>Windows Server 2003 - Enterprise x64 Edition</td>
   191                         <td>Windows Server 2003 - Enterprise x64 Edition</td>
   192                         <td>Microsoft Platform SDK - April 2005</td>
   192                         <td>Microsoft Visual Studio C++ 2010 Professional Edition</td>
   193                         <td>JDK 6u14 FCS </td>
   193                         <td>JDK 6u14 FCS </td>
   194                     </tr>
   194                     </tr>
   195                 </tbody>
   195                 </tbody>
   196             </table>
   196             </table>
   197 	    <p>
   197 	    <p>
   787                     <a href="#importjdk">Optional Import JDK</a>, set
   787                     <a href="#importjdk">Optional Import JDK</a>, set
   788                     <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>.
   788                     <tt><a href="#ALT_JDK_IMPORT_PATH">ALT_JDK_IMPORT_PATH</a></tt>.
   789                 </li>
   789                 </li>
   790                 <li>
   790                 <li>
   791                     Install the
   791                     Install the
   792                     <a href="#msvc">Microsoft Visual Studio Compilers</a> (32-bit).
   792                     <a href="#msvc">Microsoft Visual Studio Compilers</a>).
   793                 </li>
       
   794                 <li>
       
   795                     Install the
       
   796                     <a href="#mssdk">Microsoft Platform SDK</a>.
       
   797                 </li>
   793                 </li>
   798                 <li>
   794                 <li>
   799                     Setup all environment variables for compilers 
   795                     Setup all environment variables for compilers 
   800                     (see <a href="#msvc">compilers</a>).
   796                     (see <a href="#msvc">compilers</a>).
   801                 </li>
   797                 </li>
   962                     are also an option, although these compilers have not
   958                     are also an option, although these compilers have not
   963                     been extensively used yet.
   959                     been extensively used yet.
   964                 </blockquote>
   960                 </blockquote>
   965                 <strong><a name="msvc">Windows i586: Microsoft Visual Studio Compilers</a></strong>
   961                 <strong><a name="msvc">Windows i586: Microsoft Visual Studio Compilers</a></strong>
   966                 <blockquote>
   962                 <blockquote>
       
   963 <p>
       
   964 <b>BEGIN WARNING</b>: At this time (Spring/Summer 2010) JDK 7 is starting a transition to
       
   965 use the newest VS2010 Microsoft compilers. These build instructions are updated
       
   966 to show where we are going. We have a QA process to go through before
       
   967 official builds actually use VS2010. So for now, official builds are
       
   968 still using VS2003. No other compilers are known to build the entire JDK,
       
   969 including non-open portions.
       
   970 So for now you should be able to build with either VS2003 or VS2010.
       
   971 We do not guarantee that VS2008 will work, although there is sufficient
       
   972 makefile support to make at least basic JDK builds plausible.
       
   973 Visual Studio 2010 Express compilers are now able to build all the
       
   974 open source repositories, but this is 32 bit only, since
       
   975 we have not yet seen the 7.1 Windows SDK with the 64 bit
       
   976 compilers. <b>END WARNING.</b>
       
   977 <p>
   967                     The 32-bit OpenJDK Windows build
   978                     The 32-bit OpenJDK Windows build
   968                     requires 
   979                     requires 
   969                     Microsoft Visual Studio C++ 2008 (VS2008) Standard
   980                     Microsoft Visual Studio C++ 2010 (VS2010) Professional
   970                     Edition compiler. 
   981                     Edition compiler. 
   971                     The compiler and other tools are expected to reside
   982                     The compiler and other tools are expected to reside
   972                     in the location defined by the variable 
   983                     in the location defined by the variable 
   973                     <tt>VS90COMNTOOLS</tt> which
   984                     <tt>VS100COMNTOOLS</tt> which
   974                     is set by the Microsoft Visual Studio installer.
   985                     is set by the Microsoft Visual Studio installer.
   975                     <p> 
   986                     <p> 
   976                     Once the compiler is installed, 
   987                     Once the compiler is installed, 
   977                     it is recommended that you run <tt>VCVARS32.BAT</tt> 
   988                     it is recommended that you run <tt>VCVARS32.BAT</tt> 
   978                     to set the compiler environment variables
   989                     to set the compiler environment variables
   980                     <tt>LIB</tt>, and
   991                     <tt>LIB</tt>, and
   981                     <tt>PATH</tt> 
   992                     <tt>PATH</tt> 
   982                     prior to building the 
   993                     prior to building the 
   983                     OpenJDK.
   994                     OpenJDK.
   984                     The above environment variables <b>MUST</b> be set.
   995                     The above environment variables <b>MUST</b> be set.
       
   996                     This compiler also contains the Windows SDK v 7.0a,
       
   997                     which is an update to the Windows 7 SDK.
   985                     <p>
   998                     <p>
   986                     <b>WARNING:</b> Make sure you check out the
   999                     <b>WARNING:</b> Make sure you check out the
   987                     <a href="#cygwin">CYGWIN link.exe WARNING</a>.
  1000                     <a href="#cygwin">CYGWIN link.exe WARNING</a>.
   988                     The path <tt>/usr/bin</tt> must be after the path to the
  1001                     The path <tt>/usr/bin</tt> must be after the path to the
   989                     Visual Studio product.
  1002                     Visual Studio product.
   990                 </blockquote>
  1003                 </blockquote>
   991                 <strong><a name="mssdk">Windows: Microsoft Platform SDK</a></strong>
  1004                 <strong><a name="mssdk">Windows x64: Microsoft Visual Studio Compilers</a></strong>
   992                 <blockquote>
  1005                 <blockquote>
   993                     On <b>X64</b>, the Microsoft Platform Software
  1006                     On <b>X64</b>, the set up is much the same in VS2010
   994                     Development Kit (SDK), April 2005 Edition compiler,
  1007                     except that you run <tt>amd64\VCVARS64.BAT</tt>
   995                     is required for building the OpenJDK
  1008                     to set the compiler environment variables.
   996                     because it contains the C/C++ compiler. 
  1009                     Previously 64 builds had used the 64 bit compiler in
   997                     You will need to minimally install the Core SDK and
  1010                     an unbundled Windows SDK but this is no longer necessary.
   998                     the MDAC SDK features of this compiler.
       
   999                     <p>
       
  1000                     Once the Platform SDK is installed,
       
  1001                     it is recommended that you run <tt>SetEnv.Cmd /X64</tt> 
       
  1002                     to set the compiler environment variables
       
  1003                     <tt>MSSDK</tt>, 
       
  1004                     <tt>MSTOOLS</tt>,
       
  1005                     <tt>INCLUDE</tt>,
       
  1006                     <tt>LIB</tt>, and
       
  1007                     <tt>PATH</tt> 
       
  1008                     prior to building the 
       
  1009                     OpenJDK.
       
  1010                     The above environment variables <b>MUST</b> be set.
       
  1011                     <p>
       
  1012                     This Platform SDK compiler is only used on X64 builds
       
  1013                     but other parts of the Platform SDK may be used 
       
  1014                     for the X86 builds.
       
  1015                 </blockquote>
  1011                 </blockquote>
  1016             </blockquote>
  1012             </blockquote>
  1017             <!-- ------------------------------------------------------ --> 
  1013             <!-- ------------------------------------------------------ --> 
  1018             <h4><a name="zip">Zip and Unzip</a></h4>
  1014             <h4><a name="zip">Zip and Unzip</a></h4>
  1019             <blockquote>
  1015             <blockquote>
  1312                 The location of this SDK can be set with 
  1308                 The location of this SDK can be set with 
  1313                 <tt><a href="#ALT_DXSDK_PATH">ALT_DXSDK_PATH</a></tt>
  1309                 <tt><a href="#ALT_DXSDK_PATH">ALT_DXSDK_PATH</a></tt>
  1314                 but it's normally found via the DirectX environment variable
  1310                 but it's normally found via the DirectX environment variable
  1315                 <tt>DXSDK_DIR</tt>.
  1311                 <tt>DXSDK_DIR</tt>.
  1316             </blockquote>
  1312             </blockquote>
  1317             <strong><a name="msvcrt"><tt>MSVCRT.DLL</tt></a></strong>
  1313             <strong><a name="msvcrt"><tt>MSVCR100.DLL</tt></a></strong>
  1318             <blockquote> 
  1314             <blockquote> 
  1319                 <strong>i586 only:</strong>
  1315                 The OpenJDK build requires access to a redistributable
  1320                 The OpenJDK 32-bit build requires access to a redistributable
  1316                 <tt>MSVCR100.DLL</tt>.
  1321                 <tt>MSVCRT.DLL</tt>.
  1317                 This is usually picked up automatically from the redist
  1322                 If the <tt>MSVCRT.DLL</tt> is not installed in 
  1318                 directories of Visual Studio 2010.
  1323                 the system32 directory set the 
  1319                 If this cannot be found set the 
  1324                 <a href="#ALT_MSVCRT_DLL_PATH"><tt>ALT_MSVCRT_DLL_PATH</tt></a>
  1320                 <a href="#ALT_MSVCRT_DLL_PATH"><tt>ALT_MSVCRT_DLL_PATH</tt></a>
  1325                 variable to the location of this file.
  1321                 variable to the location of this file.
  1326                 <p> 
  1322                 <p> 
  1327                 <strong>X64 only:</strong>
       
  1328                 The OpenJDK 64-bit build requires access to a redistributable
       
  1329                 <tt>MSVCRT.DLL</tt>, which is
       
  1330                 usually supplied by the
       
  1331                 <a href="#mssdk">Platform SDK</a>.
       
  1332                 If it is not available from the Platform SDK,
       
  1333                 set the 
       
  1334                 <a href="#ALT_MSVCRT_DLL_PATH"><tt>ALT_MSVCRT_DLL_PATH</tt></a>
       
  1335                 variable to the location of this file.
       
  1336             </blockquote>
       
  1337             <strong><tt><a name="msvcr90">MSVCR90.DLL</a></tt></strong>
       
  1338             <blockquote>
       
  1339                 <strong>i586 only:</strong>
       
  1340                 The 
       
  1341                 OpenJDK
       
  1342                 build requires access to a redistributable
       
  1343                 <tt>MSVCR90.DLL</tt> which should be
       
  1344                 supplied by the
       
  1345                 <a href="#msvc">Visual Studio product</a>.
       
  1346                 If the <tt>MSVCR90.DLL</tt> is not available from the
       
  1347                 Visual Studio product
       
  1348                 set the 
       
  1349                 <a href="#ALT_MSVCR90_DLL_PATH"><tt>ALT_MSVCR90_DLL_PATH</tt></a>
       
  1350                 variable to the location of this file.
       
  1351             </blockquote>
  1323             </blockquote>
  1352         </blockquote>
  1324         </blockquote>
  1353         <!-- ------------------------------------------------------ -->
  1325         <!-- ------------------------------------------------------ -->
  1354         <hr>
  1326         <hr>
  1355         <h2><a name="creating">Creating the Build</a></h2>
  1327         <h2><a name="creating">Creating the Build</a></h2>
  1621                         <dt><tt><a name="ALT_MSVCRT_DLL_PATH">ALT_MSVCRT_DLL_PATH</a></tt> </dt>
  1593                         <dt><tt><a name="ALT_MSVCRT_DLL_PATH">ALT_MSVCRT_DLL_PATH</a></tt> </dt>
  1622                         <dd>
  1594                         <dd>
  1623                             The location of the 
  1595                             The location of the 
  1624                             <a href="#msvcrt"><tt>MSVCRT.DLL</tt></a>. 
  1596                             <a href="#msvcrt"><tt>MSVCRT.DLL</tt></a>. 
  1625                         </dd>
  1597                         </dd>
  1626                         <dt><tt><a name="ALT_MSVCR90_DLL_PATH">ALT_MSVCR90_DLL_PATH</a></tt> </dt>
  1598                         <dt><tt><a name="ALT_MSVCRNN_DLL_PATH">ALT_MSVCRNN_DLL_PATH</a></tt> </dt>
  1627                         <dd>
  1599                         <dd>
  1628                             <strong>i586 only:</strong>
       
  1629                             The location of the 
  1600                             The location of the 
  1630                             <a href="#msvcr90"><tt>MSVCR90.DLL</tt></a>. 
  1601                             <a href="#msvcrt"><tt>MSVCR100.DLL</tt></a>. 
  1631                         </dd>
  1602                         </dd>
  1632                     </dl>
  1603                     </dl>
  1633                 </dd>
  1604                 </dd>
  1634             </dl>
  1605             </dl>
  1635         </blockquote>
  1606         </blockquote>