< prev index next >

doc/building.md

Print this page

        

*** 148,165 **** information is always subject to change, but this table is up to date at the time of writing. Operating system Vendor/version used ----------------- ------------------------------------------------------- ! Linux Oracle Enterprise Linux 6.4 / 7.6 ! Solaris Solaris 11.3 SRU 20 ! macOS Mac OS X 10.13 (High Sierra) Windows Windows Server 2012 R2 ! The double version numbers for Linux and Solaris are due to the hybrid model ! used at Oracle, where header files and external libraries from an older version ! are used when building on a more modern version of the OS. The Build Group has a wiki page with [Supported Build Platforms]( https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms). From time to time, this is updated by contributors to list successes or failures of building on different platforms. --- 148,165 ---- information is always subject to change, but this table is up to date at the time of writing. Operating system Vendor/version used ----------------- ------------------------------------------------------- ! Linux Oracle Enterprise Linux 6.4 / 7.1 (using kernel 3.8.13) ! Solaris Solaris 11.1 SRU 21.4.1 / 11.2 SRU 5.5 ! macOS Mac OS X 10.9 (Mavericks) / 10.10 (Yosemite) Windows Windows Server 2012 R2 ! The double version numbers for Linux, Solaris and macOS is due to the hybrid ! model used at Oracle, where header files and external libraries from an older ! version are used when building on a more modern version of the OS. The Build Group has a wiki page with [Supported Build Platforms]( https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms). From time to time, this is updated by contributors to list successes or failures of building on different platforms.
*** 321,339 **** you stay to this list, the more likely you are to compile successfully without issues. Operating system Toolchain version ------------------ ------------------------------------------------------- ! Linux gcc 8.2.0 ! macOS Apple Xcode 10.1 (using clang 10.0.0) ! Solaris Oracle Solaris Studio 12.6 (with compiler version 5.15) ! Windows Microsoft Visual Studio 2017 update 15.9.6 ! ! All compilers are expected to be able to compile to the C99 language standard, ! as some C99 features are used in the source code. Microsoft Visual Studio ! doesn't fully support C99 so in practice shared code is limited to using C99 ! features that it does support. ### gcc The minimum accepted version of gcc is 4.8. Older versions will generate a warning by `configure` and are unlikely to work. --- 321,334 ---- you stay to this list, the more likely you are to compile successfully without issues. Operating system Toolchain version ------------------ ------------------------------------------------------- ! Linux gcc 7.3.0 ! macOS Apple Xcode 9.4 (using clang 9.1.0) ! Solaris Oracle Solaris Studio 12.4 (with compiler version 5.13) ! Windows Microsoft Visual Studio 2017 update 15.5.5 ### gcc The minimum accepted version of gcc is 4.8. Older versions will generate a warning by `configure` and are unlikely to work.
*** 407,417 **** ### Microsoft Visual Studio The minimum accepted version of Visual Studio is 2010. Older versions will not be accepted by `configure`. The maximum accepted version of Visual Studio is ! 2019. Versions older than 2017 are unlikely to continue working for long. If you have multiple versions of Visual Studio installed, `configure` will by default pick the latest. You can request a specific version to be used by setting `--with-toolchain-version`, e.g. `--with-toolchain-version=2015`. --- 402,412 ---- ### Microsoft Visual Studio The minimum accepted version of Visual Studio is 2010. Older versions will not be accepted by `configure`. The maximum accepted version of Visual Studio is ! 2017. Versions older than 2017 are unlikely to continue working for long. If you have multiple versions of Visual Studio installed, `configure` will by default pick the latest. You can request a specific version to be used by setting `--with-toolchain-version`, e.g. `--with-toolchain-version=2015`.
*** 725,740 **** * `--with-jtreg=<path>` - Set the path to JTReg. See [Running Tests]( #running-tests) Certain third-party libraries used by the JDK (libjpeg, giflib, libpng, lcms and zlib) are included in the JDK repository. The default behavior of the ! JDK build is to use the included ("bundled") versions of libjpeg, giflib, ! libpng and lcms. ! For zlib, the system lib (if present) is used except on Windows and AIX. ! However the bundled libraries may be replaced by an external version. ! To do so, specify `system` as the `<source>` option in these arguments. ! (The default is `bundled`). * `--with-libjpeg=<source>` - Use the specified source for libjpeg * `--with-giflib=<source>` - Use the specified source for giflib * `--with-libpng=<source>` - Use the specified source for libpng * `--with-lcms=<source>` - Use the specified source for lcms --- 720,732 ---- * `--with-jtreg=<path>` - Set the path to JTReg. See [Running Tests]( #running-tests) Certain third-party libraries used by the JDK (libjpeg, giflib, libpng, lcms and zlib) are included in the JDK repository. The default behavior of the ! JDK build is to use this version of these libraries, but they might be ! replaced by an external version. To do so, specify `system` as the `<source>` ! option in these arguments. (The default is `bundled`). * `--with-libjpeg=<source>` - Use the specified source for libjpeg * `--with-giflib=<source>` - Use the specified source for giflib * `--with-libpng=<source>` - Use the specified source for libpng * `--with-lcms=<source>` - Use the specified source for lcms
< prev index next >