Java Downloads
JDK 21 is the latest long-term support release of Java SE Platform.
JDK Development Kit 21.0.2 downloads
JDK 21 binaries are free to use in production and free to redistribute, at no cost, under the Oracle No-Fee Terms and Conditions (NFTC).
JDK 21 will receive updates under the NFTC, until September 2026, a year after the release of the next LTS. Subsequent JDK 21 updates will be licensed under the Java SE OTN License (OTN) and production use beyond the limited free grants of the OTN license will require a fee.
Release information
- Online Documentation
- Installation Instructions
- Release Notes
- Documentation License
- JDK 21 Licensing Information User Manual (includes third-party licenses)
- Certified System Configurations
- Readme
JDK Development Kit 17.0.10 downloads
JDK 17 binaries are free to use in production and free to redistribute, at no cost, under the Oracle No-Fee Terms and Conditions (NFTC).
JDK 17 will receive updates under the NFTC, until September 2024. Subsequent JDK 17 updates will be licensed under the Java SE OTN License (OTN) and production use beyond the limited free grants of the OTN license will require a fee.
Release information
- Online Documentation
- Installation Instructions
- Release Notes
- Documentation License
- JDK 17 Licensing Information User Manual (includes third-party licenses)
- Certified System Configurations
- Readme
GraalVM for JDK 21.0.2 downloads
GraalVM for JDK 21 binaries are free to use in production and free to redistribute, at no cost, under the GraalVM Free Terms and Conditions (GFTC).
GraalVM for JDK 21 will receive updates under the GFTC, until September 2026, a year after the release of the next LTS. Subsequent updates of GraalVM for JDK 21 will be licensed under the GraalVM OTN License Including License for Early Adopter Versions (GOTN) and production use beyond the limited free grants of the GraalVM OTN license will require a fee.
Oracle GraalVM uses the Graal just-in-time compiler and includes the Native Image feature as optional early adopter technology.
Native Image is extensively tested and supported for use in production, but is not a conformant implementation of the Java Platform. GraalVM for JDK 21 without the Native Image feature included is available for customers at My Oracle Support.
Release information
- Online Documentation
- Installation Instructions
- Release Notes
- Licensing Information User Manual (includes third-party licenses)
- Certified System Configurations
GraalVM for JDK 17.0.10 downloads
GraalVM for JDK 17 binaries are free to use in production and free to redistribute, at no cost, under the GraalVM Free Terms and Conditions (GFTC).
GraalVM for JDK 17 will receive updates under the GFTC, until September 2024. Subsequent updates of GraalVM for JDK 17 will be licensed under the GraalVM OTN License Including License for Early Adopter Versions (GOTN) and production use beyond the limited free grants of the GraalVM OTN license will require a fee.
Oracle GraalVM uses the Graal just-in-time compiler and includes the Native Image feature as optional early adopter technology.
Native Image is extensively tested and supported for use in production, but is not a conformant implementation of the Java Platform. GraalVM for JDK 17 without the Native Image feature included is available for customers at My Oracle Support.
Release information
- Online Documentation
- Installation Instructions
- Release Notes
- Licensing Information User Manual (includes third-party licenses)
- Certified System Configurations
Script-friendly Download URLs
The URLs listed above will remain the same for update releases to allow their use in scripts.

Protect your investment—and more
Java SE subscribers get support for JDK 17, receive updates until at least October 2029, are entitled to GraalVM, Java Management Service, and bundled patch releases (BPRs) with fixes not yet available to nonsubscribers, and more.
Java SE subscribers have more choices
Also available for development, personal use, and to run other licensed Oracle products.
- Java 8
- Java 8 Enterprise Performance Pack
- Java 11
Java SE Development Kit 8u401
Java SE subscribers will receive JDK 8 updates until at least December 2030.
The Oracle JDK 8 license changed in April 2019
The Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK 8 licenses. This license permits certain uses, such as personal use and development use, at no cost — but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. FAQs are available here.
Commercial license and support are available for a low cost with Java SE Universal Subscription.
Java SE 8u401 checksums and OL 8 GPG Keys for RPMs
JRE 8
Java SE Runtime Environment 8u401
Server JRE 8
Server JRE (Java SE Runtime Environment) 8u401
Which Java 8 package do I need?
Software developers: Java SE Development Kit (JDK) For Java developers. Includes a complete JRE plus tools for developing, debugging, and monitoring Java applications.
Running headless Linux workloads at or near your systems’ CPU or memory limits Enterprise Performance Pack brings significant memory and performance improvements including modern garbage collection algorithms, reduced memory usage and many other optimizations. Learn more
Administrators running applications on a server Server Java Runtime Environment (Server JRE). For deploying Java applications on servers. Includes tools for JVM monitoring and tools commonly required for server applications, but does not include browser integration (Java plug-in), auto-update, or an installer. Learn more
End user running Java on a desktop: Java Runtime Environment (JRE) Covers most end-users needs. Contains everything required to run Java applications on your system.
Release information
- Online Documentation
- Installation Instructions
- Release Notes
- Java SE Licensing Information User Manual (includes third-party licenses)
- Certified System Configurations
- JDK ReadMe
- JRE ReadMe
- Demos and Samples Archive
Java Downloads
JDK 21 is the latest long-term support release of Java SE Platform.
JDK Development Kit 21.0.2 downloads
JDK 21 binaries are free to use in production and free to redistribute, at no cost, under the Oracle No-Fee Terms and Conditions (NFTC).
JDK 21 will receive updates under the NFTC, until September 2026, a year after the release of the next LTS. Subsequent JDK 21 updates will be licensed under the Java SE OTN License (OTN) and production use beyond the limited free grants of the OTN license will require a fee.
Release information
- Online Documentation
- Installation Instructions
- Release Notes
- Documentation License
- JDK 21 Licensing Information User Manual (includes third-party licenses)
- Certified System Configurations
- Readme
JDK Development Kit 17.0.10 downloads
JDK 17 binaries are free to use in production and free to redistribute, at no cost, under the Oracle No-Fee Terms and Conditions (NFTC).
JDK 17 will receive updates under the NFTC, until September 2024. Subsequent JDK 17 updates will be licensed under the Java SE OTN License (OTN) and production use beyond the limited free grants of the OTN license will require a fee.
Release information
- Online Documentation
- Installation Instructions
- Release Notes
- Documentation License
- JDK 17 Licensing Information User Manual (includes third-party licenses)
- Certified System Configurations
- Readme
GraalVM for JDK 21.0.2 downloads
GraalVM for JDK 21 binaries are free to use in production and free to redistribute, at no cost, under the GraalVM Free Terms and Conditions (GFTC).
GraalVM for JDK 21 will receive updates under the GFTC, until September 2026, a year after the release of the next LTS. Subsequent updates of GraalVM for JDK 21 will be licensed under the GraalVM OTN License Including License for Early Adopter Versions (GOTN) and production use beyond the limited free grants of the GraalVM OTN license will require a fee.
Oracle GraalVM uses the Graal just-in-time compiler and includes the Native Image feature as optional early adopter technology.
Native Image is extensively tested and supported for use in production, but is not a conformant implementation of the Java Platform. GraalVM for JDK 21 without the Native Image feature included is available for customers at My Oracle Support.
Release information
- Online Documentation
- Installation Instructions
- Release Notes
- Licensing Information User Manual (includes third-party licenses)
- Certified System Configurations
GraalVM for JDK 17.0.10 downloads
GraalVM for JDK 17 binaries are free to use in production and free to redistribute, at no cost, under the GraalVM Free Terms and Conditions (GFTC).
GraalVM for JDK 17 will receive updates under the GFTC, until September 2024. Subsequent updates of GraalVM for JDK 17 will be licensed under the GraalVM OTN License Including License for Early Adopter Versions (GOTN) and production use beyond the limited free grants of the GraalVM OTN license will require a fee.
Oracle GraalVM uses the Graal just-in-time compiler and includes the Native Image feature as optional early adopter technology.
Native Image is extensively tested and supported for use in production, but is not a conformant implementation of the Java Platform. GraalVM for JDK 17 without the Native Image feature included is available for customers at My Oracle Support.
Release information
- Online Documentation
- Installation Instructions
- Release Notes
- Licensing Information User Manual (includes third-party licenses)
- Certified System Configurations
Script-friendly Download URLs
The URLs listed above will remain the same for update releases to allow their use in scripts.

Protect your investment—and more
Java SE subscribers get support for JDK 17, receive updates until at least October 2029, are entitled to GraalVM, Java Management Service, and bundled patch releases (BPRs) with fixes not yet available to nonsubscribers, and more.
Java SE subscribers have more choices
Also available for development, personal use, and to run other licensed Oracle products.
- Java 8
- Java 8 Enterprise Performance Pack
- Java 11
Java SE Development Kit 8u401
Java SE subscribers will receive JDK 8 updates until at least December 2030.
The Oracle JDK 8 license changed in April 2019
The Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK 8 licenses. This license permits certain uses, such as personal use and development use, at no cost — but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. FAQs are available here.
Commercial license and support are available for a low cost with Java SE Universal Subscription.
Java SE 8u401 checksums and OL 8 GPG Keys for RPMs
JRE 8
Java SE Runtime Environment 8u401
Server JRE 8
Server JRE (Java SE Runtime Environment) 8u401
Which Java 8 package do I need?
Software developers: Java SE Development Kit (JDK) For Java developers. Includes a complete JRE plus tools for developing, debugging, and monitoring Java applications.
Running headless Linux workloads at or near your systems’ CPU or memory limits Enterprise Performance Pack brings significant memory and performance improvements including modern garbage collection algorithms, reduced memory usage and many other optimizations. Learn more
Administrators running applications on a server Server Java Runtime Environment (Server JRE). For deploying Java applications on servers. Includes tools for JVM monitoring and tools commonly required for server applications, but does not include browser integration (Java plug-in), auto-update, or an installer. Learn more
End user running Java on a desktop: Java Runtime Environment (JRE) Covers most end-users needs. Contains everything required to run Java applications on your system.
Release information
- Online Documentation
- Installation Instructions
- Release Notes
- Java SE Licensing Information User Manual (includes third-party licenses)
- Certified System Configurations
- JDK ReadMe
- JRE ReadMe
- Demos and Samples Archive
Как установить Java Development Kit

Для разработки на Java должен быть установлен комплект разработчика приложений – Java Development Kit (сокращенно – JDK). Он нужен для запуска, отладки и исполнения программ. Также понадобится IDE – интегрированная среда разработки, в которой вы будете писать код.
Установка JDK
В комплект JDK входит интерпретатор, компилятор, библиотека Java-классов, отладчик, инструменты архивации и сжатия.
Посмотрим, как установить JDK на разные операционные системы.
Windows
Используйте бесплатную версию JDK, которая называется AdoptOpenJDK. Откройте сайт набора и выберите его состав. Например, для Windows подойдет такой набор:
- OpenJDK 11 (LTS),
- Java-машина HotSpot,
- платформа Windows x64 jdk.
После выбора параметров внизу появится ссылка на скачивание набора. Нажмите на нее, чтобы скачать архив на диск.
![]()
Скачанный архив нужно распаковать. Сделайте это в папке C:\Program Files\Java\. При разархивировании внутри появится папка jdk-11 (номер зависит от версии OpenJDK). Внутри нее размещен каталог bin. Полный путь до него – C:\Program Files\Java\jdk-11.0.13+8\bin. У вас путь может быть другим. Он нужен для того, чтобы настроить переменные окружения.
Путь до версии JDK необходимо знать программам, которые будут использовать приложения из набора – например, среде разработки. Чтобы сохранить его в системе, настройте переменную JAVA_HOME:
- Нажмите сочетание клавиш Win+R.
- В появившемся окне введите «sysdm.cpl» и нажмите «ОК».
- Перейдите на вкладку «Дополнительно».
- В нижнем правом углу выберите «Переменные среды».
Появится список переменных сред. Нажмите «Создать» и заполните параметры:
- Имя переменной – JAVA_HOME.
- Значение переменной – C:\Program Files\Java\jdk-11.0.13+8 (укажите путь до папки с JKD на своем компьютере).
Система учитывает регистр. Параметры должны быть такими, как показано выше.
![]()
Найдите в поле «Переменные среды» системную переменную Path. Выделите ее и нажмите «Изменить». Добавьте в PATH путь к каталогу с файлами Java: %JAVA_HOME%\bin. Соблюдайте регистр и не пропускайте символы. После добавления переменных перезагрузите Windows.
После повторного запуска системы проверьте, что JDK установлен. Запустите командную строку и выполните команду:
java -version
Если установка прошла успешно, в ответе будет версия JDK.
Linux (Ubuntu 20.04)
В Ubuntu 20.04 по умолчанию входит пакет Open JDK 11. Перед установкой проверьте ранее установленные версии.
Откройте терминал (Ctrl + Alt +T) и выполните команду:
sudo apt update
Затем проверьте версию JDK:
java -version
Если JDK уже есть, в ответе будет указана версия.
Для запуска приложений на Java нужна среда выполнения – Java Runtime Environment (JRE). Установите ее командой:
sudo apt install default-jre
Затем установите JDK командой:
sudo apt install default-jdk
Где будет находиться JDK, отдельно указывать не надо. Проверьте версию еще раз:
java -version
В ответе должна быть указана версия JDK.
macOS
На macOS для установки JDK используется HomeBrew.
Добавьте в HomeBrew репозиторий с OpenJDK. Откройте терминал (Cmd + N) и выполните команду:
brew tap AdoptOpenJDK/openjdk
Установите OpenJDK 11:
brew cask install adoptopenjdk11
java -version
В ответе должна быть указана версия JDK.
Комьюнити теперь в Телеграм
Подпишитесь и будьте в курсе последних IT-новостей
Установка среды разработки для Java
Самая популярная среда разработки для Java – IntelliJ IDEA. В ней есть все необходимое для создания проектов: текстовый редактор, компилятор, отладчик и другие инструменты. У Intellij IDEA есть бесплатная и платная версии. На первое время хватает возможностей бесплатной версии – Intellij IDEA Community Edition.
Windows
Скачайте версию Community для Windows с официального сайта JetBrains.
Запустите скачанный исполняемый файл и выберите путь для установки. По умолчанию это папка ProgramFiles/JetBrains.
Настройте параметры установки. Общие настройки:
- 64-bit launcher – добавление на рабочий стол ярлыка Intellij IDEA.
- Add «Open Folder as Project» – открытие папки с исходниками в редакторе через контекстное меню.
- .java – файлы с таким расширением по умолчанию будут открываться через Intellij IDEA.
Выберите папку для ярлыков (по умолчанию) JetBrains. Затем нажмите Install и Finish. Установка InteLLiJ IDEA завершена.
Linux (Ubuntu 20.04)
Установка среды разработки IntelliJ IDEA на Linux проходит даже проще, чем на Windows.
- Откройте «Центр приложений» и введите в поисковой строке слово «Intellij».
- Выберите IDEA Community и нажмите Install.
- После завершения установки откройте список программ.
- Запустите IDEA, примите условия соглашения.
На экране появится стартовое окно. Здесь можно создать или открыть проект.
macOS
На macOS InteLLiJ IDEA установка тоже очень простая.
- Скачайте версию IntelliJ IDEA для macOS с сайта JetBrains. Выберите версию Community.
- Откройте файл с расширением *.dmg. Скопируйте его в «Программы».
- Система выдаст предупреждение. Нажмите «Открыть».
- Примите пользовательское соглашение и нажмите «Продолжить».
Дождитесь завершения установки и запустите IDEA.
Запуск проектов
Среда разработки настроена, все приложения установлены. Осталось разобраться, как запустить JDK c помощью IDEA.
При первом запуске программа просит принять лицензионное соглашение. Затем появляется окно выбора темы – светлой или темной.
Следующий шаг – установка плагинов. Если пока не знаете, что понадобится для разработки, то ничего не меняйте. Если точно знаете, что, например, не будете писать приложения для Android, то удалите плагин Android.
![]()
Не беспокойтесь о составе плагинов. Если что-то забудете или установите лишнее, в любой момент можно будет поправить список в настройках IDEA.
После добавления плагинов появится стартовый экран. Здесь можно создать новый проект, открыть существующий или скачать репозиторий из системы контроля версий.
Создайте новый проект и добавьте в него Java Class – пусть он называется first. Напишите первую программу:
public class first < public static void main(String args[]) < System.out.println("Hello, world!"); >>
Чтобы запустить первую программу, нажмите Run. Внизу откроется консоль, в которой должно отобразиться приветствие – Hello, world!
Вы только что установили JDK, настроили среду разработки и выполнили первую программу.
Как скачать java jdk
This topic includes the following sections:
- System Requirements for Installing the JDK on 64-Bit Windows Platform
- JDK Installation Instruction Notation for Windows
- JDK Installation Instructions for Windows
- Beginning to Use the JDK
- Uninstalling the JDK on Windows
- System Error During Decompression
System Requirements for Installing the JDK on 64-Bit Windows Platform
JDK Installation Instruction Notation for Windows
JDK installers now support only one version of any Java feature release. You can’t install multiple versions of the same feature release.
For example, you can’t install jdk- 20 and jdk- 20 .0.1 simultaneously. If you attempt to install jdk- 20 .0.1 after jdk- 20 is installed, the installer uninstalls jdk- 20 and installs jdk- 20 .0.1 .
If you install an older version of a JDK when the newer version of the same feature family already exists, an error is displayed, prompting you to uninstall a newer JDK version if an older version has to be installed.
JDK is installed in /Program Files/Java/jdk- where is the feature release number. For example, JDK 20 .0.1 is installed in /Program Files/Java/jdk- 20 .
JDK Installation Instructions for Windows
You run a self-installing executable file to unpack and install the JDK on Windows computers.
Install JDK on Windows computers by performing the actions described in the following topics:
- Downloading the JDK Installer
- Installing the JDK from the JDK .exe Installer
- Installing the JDK from the MSI Enterprise Installer
- Installing the JDK Silently
Downloading the JDK Installer
Access the Java SE Downloads page and click Accept License Agreement . Under the Download menu, click the Download link that corresponds to the .exe for your version of Windows.
Download the file jdk- 20 . interim.update.patch _windows-x64_bin.exe .
Verify the successful completion of file download by comparing the file size on the download page and your local drive. Alternatively, you can ensure that the downloaded file’s checksum matches the one provided on the Java SE Downloads page.
Installing the JDK from the JDK .exe Installer
You must have administrator privileges to install the JDK on Microsoft Windows.
To run the JDK installer:
- Start the JDK 20 installer by double-clicking the installer’s icon or file name in the download location.
- Follow the instructions provided by the installer.
- After the installation is complete, delete the downloaded file to recover disk space.
During installation, the following files are copied to your computer:
"C:\Program Files\Common Files\Oracle\Java\javapath\java.exe" "C:\Program Files\Common Files\Oracle\Java\javapath\javaw.exe" "C:\Program Files\Common Files\Oracle\Java\javapath\javac.exe" "C:\Program Files\Common Files\Oracle\Java\javapath\jshell.exe"
Alternatively, you can run these executables directly from the JDK’s bin directory.
Installing the JDK from the MSI Enterprise Installer
The JDK MSI Enterprise Installer is packaged as an .msi installer and runs with minimal dialogs. It supports silent installation of the JDK and is customizable using command line parameters.
You must have administrative permissions install JDK 20 .
- Download jdk- 20 _windows-x64_bin.msi from the Java SE Downloads page.
- Double click the .msi file to run the installer.
Installing the JDK from the Command Line
You can install the JDK by downloading the appropriate Oracle JDK MSI Enterprise Installer for your system and running it from the command line.
- Download jdk- 20 _windows-x64_bin.msi .
- Open an MS-DOS prompt with Administrative permissions.
- Run one of the following commands depending on the type of installation that you want to perform:
- Basic UI mode:
msiexec.exe /i jdk-20_windows-x64_bin.msi
msiexec.exe jdk-20_windows-x64_bin.msi /qn
Creating a Log File
You can use a log file to verify that an installation succeeded.
To create a log file describing the installation, append /L C:\ path \setup.log to the install command and scroll to the end of the log file to verify.
The following is an example of creating a log file:
msiexec.exe /i installer.msi /L C:\path\setup.log
In this example, the log is written to the C:\path\setup.log file.
Installing the JDK Silently
Instead of double-clicking or opening the JDK installer, you can perform a silent, non-interactive, JDK installation by using command-line arguments.
Install JDK in silent mode using the command:
jdk.exe /s
- The notation jdk stands for the downloaded installer file base name, such as jdk- 20 _windows-x64_bin.exe .
- You don’t need to run the ADDLOCAL command as everything is installed by default.
Beginning to Use the JDK
Select Java Development Kit in the Windows Start menu to access information related to Reference Documentation.
During JDK installation and uninstallation processes, Start menu items are updated so that they are associated with the latest JDK version on the system.
Windows 10 has a Start menu; however, the menu is not available in Windows 8 and Windows 8.1. The JDK and Java information in Windows 8 and Windows 8.1 is available in the following Start directory: %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs .
Uninstalling the JDK on Windows
To uninstall JDK 20 , use the Add/Remove Programs utility in the Microsoft Windows Control Panel .
Uninstalling the JDK in Silent Mode
You can use the command line for uninstalling the JDK.
Use the following command to uninstall the JDK in silent mode:
MsiExec.exe/XUninstallString>>
For example, to uninstall JDK 18, run the command:
MsiExec.exe /X
- This command can be run from anywhere.
- The msiexec.exe executable is located in the windows system directory.
- A reboot is required only if some files are in use during uninstallation; it is not necessary everytime. However, to manually suppress reboot while uninstalling, append REBOOT=R option to the command.
- Append /l «C:\< path >setup.log» option to the command if you want to create a log file describing the uninstallation status.
The Windows Installer dialog appears prompting you for confirmation. Click Yes to uninstall JDK.
Finding the JDK Registry Key and UninstallString Value
- Go to the Start and type regedit .
- In the Registry Editor, go to HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Uninstall .
Under the Uninstall folder, you will find many registry entries within curly brackets.
Note: Highlight the Uninstall folder before performing search for a particular registry.
The registry key is highlighted on the right-hand side of the pane and values of various uninstall strings are displayed on the left-hand pane.
JDK Installation Troubleshooting
The topic provide tips for resolving issues while installing JDK.
- System Error During Decompression
- Program Cannot Be Run in DOS Mode
- Characters That Are Not Part of the System Code Page
- Cleanup the Registry After a Failed JDK Uninstall
- Fixing Shim Situation when JDK 20 and JRE 8 are Installed
System Error During Decompression
If you see the error message: system error during decompression , then there might not be enough space on the disk that contains the TEMP directory.
Program Cannot Be Run in DOS Mode
If you see the error message: This program cannot be run in DOS mode , then do the following:
- Open the MS-DOS shell or command prompt window.
- Right-click the title bar.
- Select Properties .
- Select the Program tab.
- Click Advanced .
- Ensure that the item Prevent MS-DOS-based programs from detecting Windows is not selected.
- Select OK .
- Select OK again.
- Exit the MS-DOS shell.
- Restart your computer.
Characters That Are Not Part of the System Code Page
A 1722 error may occur if the installation directory is not part of the system locale’s code page. To prevent this, ensure that the user and system locales are identical, and that the installation path contains only characters that are part of the system locale’s code page. User and system locales can be set in the Regional Options or Regional Settings control panel.
The associated bug number is 4895647.
Cleanup the Registry After a Failed JDK Uninstall
Sometimes, attempts to uninstall JDK through the Windows Add/Remove program leave behind some Java entries in the registry that are not fully removed. These left behind registry entries can cause problems in installing a new version of Java. The following are the methods to cleanup registry entries:
- Program Install and Uninstall troubleshooter (Recommended Method)
- Manual Registry Edit
Program Install and Uninstall troubleshooter (Recommended Method)
Run the Program Install and Uninstall troubleshooter to repair the corrupted registry keys that prevent programs from being completely uninstalled, or blocks new installations and updates.
Manually edit the registry (Use this only if the Fix It utility does not work)
Incorrectly editing your registry may severely damage your system. You should back up any valued data from your computer before making changes to the registry.
To save the registry key before deleting, in the menu bar, select File and then Export . In case you deleted the wrong registry key, you can restore the registry from your saved backup file by selecting from the menu bar File and then Import .
To delete the registry key:
- Determine the correct Registry Key. See Finding the JDK Registry Key and UninstallString Value.
- Highlight the key, Right click and select Delete .
- Click Yes when prompted.
The JDK gets uninstalled.
Fixing Shim Situation when JDK 20 and JRE 8 are Installed
When you install JDK 20 and then install JRE 8, and then run the java -version command, 1.8.0 is displayed in the output instead of 20 . This is because the javapath is placed before JDK 20 location in the user environment path.
This is a bug with the JRE 8 installer. To fix this shim situation, uninstall and reinstall JDK 20 .