

Git clone the following commands as an administrator in the windows terminal: JDK19 can be installed in this directory Java Download | Java 7, Java 8, Java 11, Java 13, Java 15, Java 17, Java 19 – Linux, Windows & amp macOS ()ĭownload the source code to a local folder through the git command build/windows-x86_64-server-release/įirst install Cygwin, Visual studio community 2019 (the installation directory must not contain spaces, if there are spaces, please reinstall), JDK 19 or aboveĬygwin needs to install autoconf, binutils, cpio, diffutils, file, gawk, gcc-core, make, m4, unzip, zip these packages This will build the release configuration under.

$ bash configure -with-toolchain-version=2019 The first command sets up environment variables, the second starts a Cygwin shell with the proper environment. "c:\Program_Files\cygwin64\bin\mintty.exe" /bin/bash -l "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64 If you have problems while configuring, read Java tips on Cygwin.

Java 18 (for instance, Azul Zulu Builds of OpenJDK 18). Visual Studio 2019 is supported by default. Install with the desktop development kit, which includes Windows SDK and compilers. Required packages: autoconf, binutils, cpio, diffutils, file, gawk, gcc-core, make, m4, unzip, zip. The original English text is as follows: Install the following:Ĭygwin 圆4. JetBrains/JetBrainsRuntime: Runtime environment based on OpenJDK for running IntelliJ Platform-based products on Windows, macOS, and Linux () There are some brief descriptions on Github, how to compile the source code in the Windows environment, but I still encountered some pitfalls, and now I will specifically explain: Many articles introduce the compilation of JDK 8 and JDK11 source code in Linux, but few people introduce the compilation process of JDK 17 in windows, so I wrote this article, why choose JBR 17 version, because JBR17 version integrates the HotSwapAgent function, the specific HotSwapAgent has What is the use, please see the article I wrote earlier:
