Как установить java 64 bit на windows 10
Перейти к содержимому

Как установить java 64 bit на windows 10

  • автор:

Как установить java 64 bit на windows 10

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- 21 and jdk- 21 .0.1 simultaneously. If you attempt to install jdk- 21 .0.1 after jdk- 21 is installed, the installer uninstalls jdk- 21 and installs jdk- 21 .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 21 .0.1 is installed in /Program Files/Java/jdk- 21 .

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- 21 . 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:

  1. Start the JDK 21 installer by double-clicking the installer’s icon or file name in the download location.
  2. Follow the instructions provided by the installer.
  3. 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 21 .

  1. Download jdk- 21 _windows-x64_bin.msi from the Java SE Downloads page.
  2. 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.

  1. Download jdk- 21 _windows-x64_bin.msi .
  2. Open an MS-DOS prompt with Administrative permissions.
  3. Run one of the following commands depending on the type of installation that you want to perform:
  4. Basic UI mode:

msiexec.exe /i jdk-21_windows-x64_bin.msi 
msiexec.exe jdk-21_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- 21 _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 21 , 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

  1. Go to the Start and type regedit .
  2. 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 21 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:

  1. Open the MS-DOS shell or command prompt window.
  2. Right-click the title bar.
  3. Select Properties .
  4. Select the Program tab.
  5. Click Advanced .
  6. Ensure that the item Prevent MS-DOS-based programs from detecting Windows is not selected.
  7. Select OK .
  8. Select OK again.
  9. Exit the MS-DOS shell.
  10. 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:

  1. Determine the correct Registry Key. See Finding the JDK Registry Key and UninstallString Value.
  2. Highlight the key, Right click and select Delete .
  3. Click Yes when prompted.

The JDK gets uninstalled.

Fixing Shim Situation when JDK 21 and JRE 8 are Installed

When you install JDK 21 and then install JRE 8, and then run the java -version command, 1.8.0 is displayed in the output instead of 21 . This is because the javapath is placed before JDK 21 location in the user environment path.

This is a bug with the JRE 8 installer. To fix this shim situation, uninstall and reinstall JDK 21 .

Как установить java 64 bit на windows 10

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:

  1. Start the JDK 20 installer by double-clicking the installer’s icon or file name in the download location.
  2. Follow the instructions provided by the installer.
  3. 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 .

  1. Download jdk- 20 _windows-x64_bin.msi from the Java SE Downloads page.
  2. 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.

  1. Download jdk- 20 _windows-x64_bin.msi .
  2. Open an MS-DOS prompt with Administrative permissions.
  3. Run one of the following commands depending on the type of installation that you want to perform:
  4. 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

  1. Go to the Start and type regedit .
  2. 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:

  1. Open the MS-DOS shell or command prompt window.
  2. Right-click the title bar.
  3. Select Properties .
  4. Select the Program tab.
  5. Click Advanced .
  6. Ensure that the item Prevent MS-DOS-based programs from detecting Windows is not selected.
  7. Select OK .
  8. Select OK again.
  9. Exit the MS-DOS shell.
  10. 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:

  1. Determine the correct Registry Key. See Finding the JDK Registry Key and UninstallString Value.
  2. Highlight the key, Right click and select Delete .
  3. 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 .

Как установить java 64 bit на windows 10

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- 17 and jdk- 17 .0.1 simultaneously. If you attempt to install jdk- 17 .0.1 after jdk- 17 is installed, the installer uninstalls jdk- 17 and installs jdk- 17 .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 17 .0.1 is installed in /Program Files/Java/jdk- 17 .

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 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 .

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 privilege to install the JDK on Microsoft Windows.
To run the JDK installer:

  1. Start the JDK 17 installer by double-clicking the installer’s icon or file name in the download location.
  2. Follow the instructions provided by the installer.
  3. After the installation is complete, delete the downloaded file to recover the disk space.

During installation, the following files are copied to the location mentioned:

"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 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 .

  1. Download jdk- 17 _windows-x64_bin.msi .
  2. 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.

  1. Download jdk- 17 _windows-x64_bin.msi .
  2. Open an MS-DOS prompt with Administrative permissions.
  3. Run one of the following commands depending on the type of installation that you want to perform:
  4. Basic UI mode:

msiexec.exe /i installer.msi 
msiexec.exe installer.msi /qn 

installer.msi is the name of the MSI Enterprise JDK Installer that you obtained in the previous step.

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- 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

The 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 17 , 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 15, 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.

Windows Installer dialog appears prompting you for confirmation. Click Yes to uninstall JDK.

Finding the JDK Registry Key and UninstallString Value

  1. Go to Start and type Regedit .
  2. 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 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 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.

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:

  1. Open the MS-DOS shell or command prompt window.
  2. Right-click the title bar.
  3. Select Properties .
  4. Select the Program tab.
  5. Click Advanced .
  6. Ensure that the item Prevent MS-DOS-based programs from detecting Windows is not selected.
  7. Select OK .
  8. Select OK again.
  9. Exit the MS-DOS shell.
  10. 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.

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:

  1. Determine the correct Registry Key. See Finding the JDK Registry Key and UninstallString Value.
  2. Highlight the key, Right click and select Delete .
  3. 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.

Как установить Java 64 Bit на Windows 10 — пошаговая инструкция

Для работы некоторых приложений и игр, а также воспроизведения видео на компьютере должна быть установлена платформа Java. Без участия этой виртуальной машины многие программные компоненты попросту не будут даже запускаться. Возможности ее практически безграничны, а установка и настройка не вызывают особых трудностей.

Нужна ли Java для Windows 10

Java представляет собой один из наиболее распространенных языков программирования. По статистика, программа установлена и активно используется более чем в трех миллиардах устройств.

Логотип языка программирования Java

Обратите внимание! Основная особенность языка программирования заключается в том, что программы, написанные на Джава, транслируются в промежуточный байт-код и в JVM среде. Благодаря этому у программистов нет нужды адаптировать под приложение каждую операционную систему в отдельности.

Зачем используется платформа Java:

  • для разработки игр и различных приложений. Подавляющее большинство сторонних ПО написано на языке Java, поэтому для их работы на устройстве обязательно потребуется предустановленная Джава;
  • средства разработки применяют для создания научных и финансовых приложений;
  • Web-приложения также задействуют в своей работе виртуальную машину для запуска игр и различных приложений в браузере;
  • Android. Все приложения и непосредственно сама система написаны с применением данного языка программирования.

Последняя версия Java предоставляет еще более расширенные функциональные возможности в разработке. Основные из них:

  • десктопные и онлайн-игры;
  • приложения для ОС Android;
  • программные компоненты, предназначенные для скачивания, установки, а также поиска драйверов для стационарного компьютера или ноутбука;
  • клиентские и серверные части банковских электронных систем;
  • антивирусные программы;
  • программное обеспечение для умной бытовой техники: смарт-телевизоры и часы, кофемашины и т. д.;
  • плееры для воспроизведения видео;
  • апплеты (небольшие приложения, которые функционируют только в браузере).

Обратите внимание! Если установить Ява на виндовс 10 (как еще коротко называют софт), это позволит использовать полноценную и функциональную среду вычислительной платформы для создания ПО.

В зависимости от поставленной задачи пользователю необходимо выбрать требуемую версию виртуальной машины.

Интерфейс программы Java для Windows 10

Операционная система Windows 10
Браузеры Google Chrome, Firefox и Internet Explorer версии 9 и выше
Архитектура ОС Х86, х64
Модификация процессора Pentium 2 поколения с тактовой частотой не менее 266 МГц
Место на жестком диске От 124 Мб
Размер оперативной памяти 128 Мб

Теперь стоит ознакомиться с основными преимуществами и недостатками платформы.

  • бесплатное скачивание и использование;
  • многоязычность;
  • полная совместимость с операционной системой Windows 10;
  • платформа не требовательна к ресурсам операционной системы;
  • быстрое создание игр и приложений;
  • простой и понятный интерфейс;
  • наличие шаблонов.

Обратите внимание! Что касается недостатков, то пользователи отмечают лишь снижение скорости работы и производительности ПК. Чтобы устранить проблему, достаточно обновлять приложение.

Как установить Java 64 Bit на Windows 10

Установить Java x64 для Windows 10 можно в несколько этапов:

  1. Загрузка с сайта пакета JDK.
  2. Установка JDK файла.
  3. Настройка ПО — добавление системной переменной JAVA_HOME.

Где на сайте Oracle скачать Java

Важно! При правильной установке ПО новая Java будет работать корректно. Чтобы это сделать без ошибок, нужно внимательно ознакомиться с описанными инструкциями.

Как загрузить с сайта пакет JDK (Java Development Kit) для Windows 10

Чтобы установить Джава 64 бит для виндовс 10, прежде всего на официальном сайте разработчиков программы необходимо скачать установочный файл. Для этого на сайте Oracle в соответствующем разделе находят последнюю версию Java x64 на Windows 10. нужно выбрать файл под названием JDK (Download).

Далее отобразится новое окно, где пользователю потребуется согласиться с условиями соглашения, после чего загрузить на свой ПК установочный файл, соответствующий ОС. В конкретном случае речь идет о 64-разрядной операционной системе Windows 10.

Загрузка с сайта пакета JDK

Обратите внимание! Чтобы узнать разрядность операционной системы, предустановленной на ПК, необходимо нажать на «Пуск» (кнопка расположена в нижнем углу экрана с левой стороны), затем правой кнопкой мышки тапнуть на строку «Компьютер». Из выпадающего списка контекстного меню выбрать строку «Свойства».

После скачивания установочного файла можно приступать к установке платформы для программирования. Интерфейс мастера установки имеет только английский язык, но инсталляция осуществляется в несколько кликов. В зависимости от скорости интернет-соединения время установки может значительно отличаться.

Процесс распаковки и установки выглядит следующим образом:

  1. Двойным нажатием на установочный файл запустить его. По умолчанию файл сохранится в папке «Загрузки», если в настройках браузера пользователем не был изменен путь.
  2. В первом окне сразу нужно нажать «Install», то есть установить.
  3. Далее для подтверждения действий останется тапнуть на «Ок».
  4. Дождаться окончания установки и закрыть окно мастера.

Установка Джава на виндовс 10

Важно! Также специалисты рекомендуют для корректной работы программы дополнительно перезагрузить компьютер.

Как правильно обновить Java Windows 10

Обновить Джава 64 бит на виндовс 10 можно автоматически и вручную. Реализация каждого способа не отличается особой сложностью и может быть выполнена даже неуверенным пользователем ПК. Разработчики регулярно выпускают обновления для улучшения производительности программы и устраняют баги.

Обратите внимание! Как только выходит обновление, система уведомляет об этом пользователя. Самый простой вариант обновить — подтвердить загрузку и установить обновление.

Обновление программных компонентов платформы вручную осуществляется следующим образом:

  1. Прежде всего необходимо полностью удалить старую версию программы «8 update 45», а также очистить пользовательские папки и записи в реестре. Это важный пункт, в противном случае избежать системных конфликтов не удастся.
  2. Далее на официальном сайте Oracle потребуется скачать установочный файл последней редакции Java 8 64 бит и установить, следуя пошаговой инструкции, которая будет отображаться на экране в режиме реального времени.

Во всех версиях операционных систем от Microsoft процедура удаления устаревшего софта не имеет принципиальных отличий. Пользователю достаточно перейти в «Пуск», затем в раздел «Панель управления». На экране отобразится новое окно, где среди доступных встроенных инструментов потребуется выбрать «Программы и компоненты».

Отобразится новое окно с доступными встроенными и сторонними программами. Потребуется найти Java и тапнуть правой кнопкой мышки. Из выпадающего списка выбрать строку «Удалить», подтвердить намерения, дополнительно нажав «Да».

Как настроить Java на Windows 10

В некоторых случаях для корректной работы программы необходимо вносить изменения в стандартные конфигурации. Сделать это можно следующим образом:

  1. Для изменения параметров настроек пользователю необходимо перейти в Java Control Panel. Для этого прежде всего нужно нажать «Пуск».
  2. Весь список установленных сторонних приложений прокрутить в самый низ, после чего открыть папку «Служебные Windows».
  3. Среди доступных инструментов нажать на «Панель управления».
  4. В следующем шаге необходимо переключить режим просмотра на «Крупные значки».
  5. Двойным кликом вывести на экран настройки виртуальной машины Java.
  6. В верхней панели инструментов перейти во вкладку «Security».
  7. Галочкой отметить нужный режим безопасности. В режиме Very High (очень высокий) будут функционировать лишь те программы, которые имеют специальный сертификат. Все остальные программные компоненты будут блокироваться на этапе запуска.
  8. В следующем шаге потребуется отметить галочкой пункт «Enable Java content for browser and Web Start applications» для автоматического запуска плагина в браузере.

Настройка виртуальной машины в Windows 10

Чтобы все изменения вступили в силу, потребуется нажать сначала на «Apply», а затем «Ок». В завершении также рекомендуется обязательно перезагрузить компьютер.

Обратите внимание! Автоматические настройки в виртуальной машине Java для Windows 10 установлены оптимальные, поэтому рядовому пользователю вносить какие-либо изменения в конфигурации не рекомендуется.

Что делать, если не устанавливается Java на Windows 10

Встречаются случаи, когда не удается распаковать на своем ПК установочный файл. Для решения проблемы рекомендуется воспользоваться следующими советами:

  • как уже говорилось ранее, если на компьютере установлена устаревшая версия платформы, то предварительно ее нужно удалить, иначе системных конфликтов не избежать;
  • провести глубокое сканирование антивирусной программой операционной системы. Такая необходимость обусловлена тем, что многие вредоносные программы и компоненты маскируются под системные библиотеки и не позволяют устанавливать/обновлять ПО;
  • с помощью специальных программ, например, CCleaner, почистить реестр операционной системы;
  • также можно попробовать обновить компоненты ОС при помощи центра обновления.

Сканирование ПК антивирусной программой

Виртуальная машина Java обладает практически неограниченными возможностями, чем и обусловлены ее распространенность и востребованность. Если строго следовать описанным выше инструкциям, то сложностей в установке и использовании программы не возникнет.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *