一键重装系统工具 | U盘启动盘制作工具 | 误删文件恢复软件 | 硬盘数据抢救专家 | 电脑蓝屏修复助手 | C盘空间清理神器 | 电脑驱动离线安装工具 | 微信聊天记录恢复工具 | 照片误格式化恢复 | 电脑密码破解清除工具 | 系统崩溃紧急救援盘 | 电脑加速优化大师 | 电脑开不了机怎么重装系统 | 回收站清空了怎么恢复 | 硬盘分区丢失数据恢复 | 电脑卡顿重装系统有用吗 | U盘插入提示格式化数据恢复 | 电脑中毒文件被隐藏恢复 | 忘记电脑开机密码怎么办 | 新硬盘分区对齐工具 | 旧电脑装Win10流畅工具 | SD卡照片删除恢复免费版 | 移动硬盘打不开提示损坏修复 | 电脑无故重启系统修复工具 | 电脑小白一键重装神器 | 程序员电脑环境配置助手 | 设计师电脑字体/素材恢复工具 | 网吧网管系统维护工具箱 | 财务人员电脑发票备份恢复 | 学生党免费电脑系统安装包 | 电脑维修师傅必备工具盘 | 游戏玩家电脑性能优化助手 | 办公白领误删文档恢复软件 | 自媒体视频素材恢复工具 | 网课录制视频损坏修复工具 | 最好的U盘PE系统排名 | 数据恢复软件哪个最强 | 免费电脑助手与收费版区别 | 国产装机工具哪款无广告 | 离线版驱动助手推荐 | 轻量级电脑优化工具对比 | 支持NVMe驱动的PE工具 | 带网络功能的应急启动盘 | 2026最新版万能装机工具 | 支持Win11 24H2的PE工具 | 最新免激活系统重装工具 | 2026数据恢复软件破解版合集 | 纯净无捆绑装机助手V3.0 | 支持苹果M芯片的电脑助手 | 秋季更新版系统维护工具箱 | 电脑系统崩了怎么用U盘把重要资料拷贝出来 | 重装系统前哪些文件夹必须备份 | 固态硬盘误格式化还能恢复数据吗 | 如何制作一个既带PE又能存数据的双分区U盘 | 电脑总是弹窗广告用什么助手彻底拦截 后台管理
📢 欢迎访问系统之家!所有资源均经过安全检测。

Installation of the JDK on Microsoft Windows Platforms

发布时间:2026-09-20 | 浏览:2
📥 下载地址(文章开头)
装机神器,可以安装一切系统。
6 Installation of the JDK on Microsoft Windows Platforms This topic includes the following sections: System Requirements for Installing the JDK on 64-Bit Windows Platform System Requirements for Installing the JDK on 64-Bit Windows Platform JDK Installation Instruction Notation for Windows JDK Installation Instruction Notation for Windows JDK Installation Instructions for Windows JDK Installation Instructions for Windows Beginning to Use the JDK Beginning to Use the JDK Uninstalling the JDK on Windows Uninstalling the JDK on Windows System Error During Decompression System Error During Decompression System Requirements for Installing the JDK on 64-Bit Windows Platform For supported processors and browsers, see Oracle JDK Certified Systems Configurations . JDK Installation Instruction Notation for Windows By default, the JDK is installed in C:/Program Files/Java/jdk-<FEATURE> where <FEATURE> is the feature release number. For example, the default installation directory for JDK 17 would be C:/Program Files/Java/jdk- 17 . The default installation directory for JDK 17 .0.1 would be C:/Program Files/Java/jdk- 17 .0.1 . A junction , which is an alias to another directory on the computer, is created that points to the latest JDK 17 feature release. This junction is removed when the last JDK 17 installation is uninstalled. For example, if JDK 17 .0.1 is the latest JDK 17 feature release, and you also have also installed JDK 17 , then when you install JDK 17 .0.1, the JDK installer creates a junction named C:\Program Files\Java\latest\jdk- 17 that points to where JDK 17 .0.1 was installed (which is, by default, C:\Program Files\Java\jdk- 17 .0.1 ). 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 Downloading the JDK Installer Installing the JDK from the JDK .exe Installer Installing the JDK from the JDK .exe Installer Installing the JDK from the MSI Enterprise Installer Installing the JDK from the MSI Enterprise Installer Installing the JDK Silently Installing the JDK Silently Downloading the JDK Installer Access 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- 17 . interim.update.patch _windows-x64_bin.exe . Installing the JDK from the JDK .exe Installer Start the JDK 17 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 the disk space. 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 a .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 17 . Download jdk- 17 _windows-x64_bin.msi . Double click the .msi file to run the installer. 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- 17 _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 installer.msi Silent mode: msiexec.exe installer.msi /qn Note: installer.msi is the name of the MSI Enterprise JDK Installer that you obtained in the previous step. Basic UI mode: msiexec.exe /i installer.msi Silent mode: msiexec.exe installer.msi /qn 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: 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. The notation jdk stands for the downloaded installer file base name, such as jdk- 17 _windows-x64_bin.exe . You don't need to run the ADDLOCAL command anymore as everything gets installed by default. Beginning to Use the JDK Use the Java Development Kit in the Windows Start menu to access information related to Reference Documentation. During JDK install, Java menu items are added to the Windows Start menu to provide easy access to Reference Documentation, which is online documentation web page. During JDK installation and uninstallation processes, the appropriate start menu items are updated so that they are associated with the latest JDK version on the system Uninstalling the JDK on Windows Uninstalling the JDK in Silent Mode You can use the command line for uninstalling the JDK. For example, to uninstall JDK 15, run the command: To find the UninstallString, see Finding the JDK Registry Key and UninstallString Value . 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. Windows Installer dialog appears prompting you for confirmation. Click Yes to uninstall JDK. Finding the JDK Registry Key and UninstallString Value Go to 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. Under the Uninstall folder, you will find many registry entries within curly brackets. Click Edit and then Find . Note: Highlight Uninstall folder before performing search for a particular registry. Enter version string as value to find corresponding registry key. For example, enter jdk-15 . 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. 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. Note the value of the UninstallString . JDK Installation Troubleshooting The topic provide tips for resolving issues while installing JDK. System Error During Decompression Characters That Are Not Part of the System Code Page Cleanup the Registry After a Failed JDK Uninstall Fixing Shim Situation when JDK 17 and JRE 8 is 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. Characters That Are Not Part of the System Code Page 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. Use the File->Export functionality of the registry editor to save the registry key before deleting. In case you deleted the wrong registry key, you can restore the registry from your saved backup file, by using the File->Import functionality. To delete the registry key: Determine the correct Registry Key. See Finding the JDK Registry Key and UninstallString Value . Determine the correct Registry Key. See Finding the JDK Registry Key and UninstallString Value . Highlight the key, Right click and select Delete . Highlight the key, Right click and select Delete . Click Yes when prompted. Click Yes when prompted. The JDK gets uninstalled. Fixing Shim Situation when JDK 17 and JRE 8 is Installed When you install JDK 17 and then install JRE 8, and then run the java -version command, 1.8.0 is displayed in the output instead of 17 . This is because the javapath is placed before JDK 17 location in the user environment path. This is a bug with the JRE 8 installer. To fix this shim situation, uninstall and reinstall JDK 17.
📥 下载地址(文章结尾)
装机神器,可以安装一切系统。