![]() ![]() Tar -xf openjdk-20.0.1_macos-aarch64_ -C $HOME/OpenJDKThis will extract the compressed archive file into the directory OpenJDK in the user home directory. Next, extract the archive file to a desired location on your computer. If both are the same, that means you can safely use the archive file. Shasum -a 256 openjdk-20.0.1_macos-aarch64_ compare the generated checksum value against the one published on the download page (click link 2). Open a new Terminal window, change the current directory to location of the file, then type the following command: You’ll get the file openjdk-20.0.1_macos-aarch64_ downloaded onto your computer.And it’s strongly recommended to verify integrity of the downloaded file to ensure that it was not tampered with during the download. The download link tar.gz next to macOS/AArch64 is for Mac running on Apple CPU, whereas the link for macOS/圆4 is for Mac running on Intel CPU.For example, if your Mac running on Apple M1 chip so you should click the link 1 (tar.gz) to download the binary distribution of OpenJDK 20 for macOS. The following screen will appear: There are two different download links for macOS, and which one you should choose depending the CPU type of your Mac computer. Visit the OpenJDK 20’s official download page. Download binary distribution of OpenJDK 20 for macOSOpenJDK 20 is distributed as archive (tar.gz) file for macOS. In this post, I’d like to share with you how to setup OpenJDK - a production-ready and open-source distribution of JDK.And you know, JDK 20 is just a regular update (non LTS - Long Term Support) release of Java SE platform. To run and develop any Java applications, a Java Development Kit (JDK) is required.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |