< 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.
*** 293,305 **** sudo yum groupinstall "Development Tools" ``` ### AIX ! Please consult the AIX section of the [Supported Build Platforms]( ! https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms) OpenJDK ! Build Wiki page for details about which versions of AIX are supported. ## Native Compiler (Toolchain) Requirements Large portions of the JDK consists of native code, that needs to be compiled to be able to run on the target platform. In theory, toolchain and operating --- 293,305 ---- sudo yum groupinstall "Development Tools" ``` ### AIX ! The regular builds by SAP is using AIX version 7.1, but AIX 5.3 is also ! supported. See the [OpenJDK PowerPC Port Status Page]( ! http://cr.openjdk.java.net/~simonis/ppc-aix-port) for details. ## Native Compiler (Toolchain) Requirements Large portions of the JDK consists of native code, that needs to be compiled to be able to run on the target platform. In theory, toolchain and operating
*** 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`.
*** 422,435 **** does not always resolve the problem. See [this stackoverflow discussion]( https://stackoverflow.com/questions/10888391) for other suggestions. ### IBM XL C/C++ ! Please consult the AIX section of the [Supported Build Platforms]( ! https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms) OpenJDK ! Build Wiki page for details about which versions of XLC are supported. ## Boot JDK Requirements Paradoxically, building the JDK requires a pre-existing JDK. This is called the "boot JDK". The boot JDK does not, however, have to be a JDK built directly from --- 417,431 ---- does not always resolve the problem. See [this stackoverflow discussion]( https://stackoverflow.com/questions/10888391) for other suggestions. ### IBM XL C/C++ ! The regular builds by SAP is using version 12.1, described as `IBM XL C/C++ for ! AIX, V12.1 (5765-J02, 5725-C72) Version: 12.01.0000.0017`. + See the [OpenJDK PowerPC Port Status Page]( + http://cr.openjdk.java.net/~simonis/ppc-aix-port) for details. ## Boot JDK Requirements Paradoxically, building the JDK requires a pre-existing JDK. This is called the "boot JDK". The boot JDK does not, however, have to be a JDK built directly from
*** 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 --- 721,733 ---- * `--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 >