This topic includes the following sections: Show
System Requirements for Installing the JDK and the JRE on 64-Bit Windows PlatformThe JDK and the JRE have minimum processor, disk space, and memory requirements for 64-bit Windows platform. Before installing the JDK or the JRE on your 64-bit Windows platform, you must verify that it meets the following minimum processor, disk space, and memory requirements. Processor Requirements Both the JDK and JRE require at minimum a Pentium 2 266 MHz processor. Disk Space Requirements For JDK 9, you are given the option of installing the following features:
When you install 64-bit JDK, then 64-bit public JRE also gets installed. The following table provides the disk requirements for the installed features:
Memory Requirements On Windows 64-bit operating systems, the Java runtime requires a minimum of 128 MB of memory. Note: The minimum physical RAM is required to run graphically based applications. More RAM is recommended for applets running within a browser using the Java Plug-in. Running with less memory may cause disk swapping, which has a severe effect on performance. Very large programs may require more RAM for adequate performance. JDK and JRE Installation Instruction Notation for WindowsFor any text in this document that contains the following notation, you must substitute the appropriate update version number:
For example:
JDK Installation Instructions for WindowsYou run a self-installing executable file to unpack and install the JDK on Windows computers. Downloading the JDK InstallerIn a browser, go to the Java SE Development Kit 9 Downloads page and click Accept License Agreement. Under the Download menu, click the Download link that corresponds to the Download fhe file Note: Verify the successful completion of file download by comparing the file size on the download page and your local drive. Running the JDK InstallerYou must have administrator privilage to install the JDK on Microsoft Windows. To run the JDK installer:
Installing the JDK SilentlyInstead of double-clicking or opening the JDK installer, you can perform a silent, noninteractive, JDK installation by using command-line arguments. The following table lists example installation scenarios and the commands required to perform them. The notation jdk stands for the downloaded installer file base name, such as
Setting the PATH Environment VariableIt is useful to set the Note: The If you do
not set the C:\> "C:\Program Files\Java\jdk-9\bin\javac" MyClass.java To set the C:\Program Files\Java\jdk-9\bin To set the
JRE Installation Instructions for WindowsWhen installing JRE on Windows computers, you must select the JRE installer that is appropriate for your Windows system. JRE Proxy Settings and AuthenticationTo use the Windows Online Installer, you must be connected to the internet. If you are running behind a proxy server, then you must have your proxy settings correctly configured. If they are not configured, or are incorrectly configured, then the installer will terminate with the following message: The installer cannot proceed with the current Internet Connection settings. Please visit the following website for more information.
If you see this message, check your proxy settings: In the Control Panel , double-click Internet Options, select the Connections tab, and click the LAN Settings. If you do not know what the correct settings should be, check with your internet provider or system administrator. Downloading the JRE InstallerThe JRE Installer is located on the Java SE Runtime Environment 9 Downloads page.
Running the JRE InstallerYou must have Administrative privileges in order to install the JRE on Microsoft Windows. To run the JRE installer:
Windows Registry SettingsThe installation program for the Microsoft Windows version of the Java SE Runtime Environment uses the registry to store path and version information. It creates the following registry keys:
If there are two versions of JDK or JRE installed on a system, one with the new version-string format introduced in JDK 9, and the other with the older version format, then there will be two different
The registry layout for this example is: "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JDK\9" "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JDK" "@CurrentVersion" = 9 "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.8" "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.8.0" "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit" "@CurrentVersion" = 1.8 The For the same example, if the JRE is installed, then the registry layout is: "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JRE\9" "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JRE" "@CurrentVersion" = 9 "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8" "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0" "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" "@CurrentVersion" = 1.8 The Beginning to Use the JDKUse the Java item in the Windows Start menu to access essential Java information and functions, including Help, API documentation, the Java Control Panel, checking for updates, and Java Mission Control. Java Start Menu Installed by JDKDuring JDK install, Java menu items are added to the Windows Start menu to provide easy access to Java resources and a Java Development Kit folder is created in the Windows Start menu, which contains the following items:
Note: Java Mission Control is a commercial feature available to users with a Java SE Advanced license. 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 Note: The Windows 7 and Windows 10 have 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: Java Start Menu Installed by JREDuring JRE installation, Java menu items are added to the Windows Start menu to provide easy access to Java resources and a Java folder is created in the Windows Start menu, which contains the following items:
During JRE installation and uninstallation processes, the appropriate start menu items are updated so that they are associated with the latest JRE version on the system. Note: The Windows 7 and Windows 10 have Start menu, however the menu is not available in Windows 8 and Windows 8.1. The JRE and Java information in Windows 8 and Windows 8.1 is available in the following Start directory:
Java Web StartJava Web Start is an application-deployment technology that gives you the power to run full-featured applications with a single click from your web browser. With Java Web Start, you can download and run applications, such as a complete spreadsheet program or an internet chat client, without going through complicated installation procedures. With Java Web Start, you run applications simply by clicking a web page link. If the application is not present on your computer, Java Web Start automatically downloads all necessary files. It then caches the files on your computer so that the application is always ready to be run anytime that you want - either from an icon on your desktop or from the browser link. No matter which method you use to run the application, the most current, available version of the application is always presented to you. Upgrading from Previous Versions If you have a previous version of Java Web Start, do not uninstall it. Uninstalling it will cause the download cache to be cleared, and all previously installed Java Web Start application data will have to be downloaded again. The new version will write over previous installations and automatically update browsers to use the new version. The configuration files and the program files folder used by Java Web Start have changed, but all your settings will remain intact after the upgrade because Java Web Start will translate your settings to the new form. Uninstallation The only way to uninstall Java Web Start is to uninstall the JDK or JRE. Uninstalling the JDK or JRE will not, however, remove the cache for previous versions of Java Web Start. Previous releases have separate uninstallation instructions for Java Web Start. You may see a misleading message if you do the following:
When you remove the application, you see an Uninstaller Error dialog box saying:
If you say Yes to this, then you will see another Uninstaller Error dialog box saying:
The message is displayed when you have removed the Java Web Start application while uninstallating the JDK or JRE, but this is not reflected in the Add or Remove Programs. Refresh the Add or Remove Programs by pressing F5 or reopen the panel. To avoid seeing the misleading message, either press F5 or reopen the dialog box. Any Java Web Start application that was downloaded and cached with the JDK or JRE will no longer appear in the list of currently installed programs. Java Plug-inJava Plug-in technology, included as part of the JRE, establishes a connection between popular browsers and the Java platform. This connection enables applets on websites to be run within a browser on the desktop. The Java Plug-in is automatically enabled for supported web browsers during installation of the JRE. No user intervention is necessary. Note: In Java SE 9, the version of the Java Plug-in that is available in versions of the JRE prior to Java SE 6 Update 10 has been deprecated. However, this earlier version of the Java Plug-in is still shipped with Java SE 9 for compatibility purposes but is no longer fully supported. It will be removed in a future release. Option to Disable the JRE out-of-date WarningWhen the installed JRE falls below the security baseline or passes its built-in expiration date, an additional warning is shown to users to update their installed JRE to the latest version. For businesses that manage the update process centrally, users attempting to update their JRE individually, may cause problems. A deployment property,
To disable automatic updates, on the Update tab of the Java Control Panel, deselect the Check for Updates Automatically check box. Uninstalling the JDK on WindowsTo uninstall JDK 9, use the Add/Remove Programs utility in the Microsoft Windows Control Panel. Uninstalling the JRE on WindowsUse either of the following ways to uninstall JRE:
The Java Removal Tool is integrated with the JRE installer. After Note: The Java Uninstall tool will not run if your system administrator specified a deployment rule set in your organization. A deployment rule set enables enterprises to manage their Java desktop environment directly and continue using legacy business applications in an environment of ever-tightening Java applet and Java Web Start application security policies. A deployment rule set enables administrators to specify rules for applets and Java Web Start applications; these rules may specify that a specific JRE version must be used. Consequently, the Java Uninstall tool will not run if it detects a deployment rule set to ensure that no required JREs are uninstalled. See Deployment Rule Set in the Java Platform, Standard Edition Deployment Guide. JDK Installation TroubleshootingThe following sections provide tips for working around problems that are sometimes seen during or while following installation instructions. System Error During Decompression If you see the error message Program Cannot Be Run in DOS Mode If you see the error message
Source Files in Notepad In Microsoft Windows, when you create a new
file in Microsoft Notepad and then save it for the first time, Notepad usually adds the Characters That Are Not Part of the System Code Page It is possible to name directories using characters that are not part of the system locale's code page. If such a directory is part of the installation path, then generic error 1722 occurs, and installation is not completed. Error 1722 is a Windows installer error code. It indicates that the installation process has failed. The exact reason for this error is not known at this time. To prevent this problem, 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. Windows Online Installation and Java Update FAQThese are frequently asked questions about JDK 9 and JRE 9 online installation and Java updates on Windows computers. 1. I downloaded the installer and it is less than 1 megabyte. Why is it so small? The Windows Online Installer for the JRE will download more installer files. Using this installer helps users to avoid downloading unnecessary files. 2. I had the Java Control Panel open for Java Update and the About tab showed the version of the JRE installed in my computer. Then I ran Java Update, and the version of the JRE that the Java Control Panel is showing has not changed. Why is this? You need to close and restart the Java Control Panel to get the updated Control Panel. 3. Netscape/Mozilla is not working correctly with Java Plug-in. Why? First, close all the browsers sessions. If this does not work, reboot the system and try again. 4. I try to install on the D:\ drive and Java Update is still installing files onto the C:\ drive. Why? Regardless of whether an alternate target directory was selected, Java Update needs to install some update files on the Windows system drive. 5. How can I uninstall the Java Update version that I just installed? If you want to uninstall the JRE, then use the Add/Remove Programs utility in the Microsoft Windows . Select the Control Panel and then Add/Remove Programs. 6. After the JRE bootstrap installer is downloaded and executed, why does the message "This installer cannot proceed with the current Internet Connection settings of your system. In your Windows Control Panel, please check Internet Options -> Connections to make sure the settings and proxy information are correct." appear? The JRE bootstrap installer uses the system Internet Connection settings to connect to the web for downloading extra files. If you are behind a firewall and require proxy settings, then ensure that the proxy settings in Internet Options/Internet Properties are set up properly (select Start, then Control Panel, then Internet Options/Internet Properties, then Connections, and then LAN Settings). If you can browse the external web (for example, outside the firewall) with Internet Explorer, then your proxy settings are properly set up. The installer does not understand the proxy settings specified in Netscape/Mozilla. 7. I found the jusched.exe process running in the background of my system after installing JRE. Is there a way to shut it down? The 8. When I click the Update Now button from the Java Control Panel, it complains about the system being "offline." What does that mean? Java Update can be run only if the system is connected to the network. A system that is not connected to the network is referred to as being offline. When the Update Now is clicked, it will check the online/offline status of your system. If your computer does not have internet access, then the error message is displayed. Check that your system is currently connected to the internet and try again. 9. I followed the instructions to install a specific version of the JRE. After the installation, a message is displayed from system tray saying an update is available for download. What should I do? The message is part of the Java Auto Update mechanism, which detects at user login time if a newer version of the JRE is available for download. In the system tray, click the Java Update icon to download and install the update. 10. I encountered the error "This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package." when running the Java SE installer. There are several possible reasons for this error to be displayed; a few are listed:
To address these problems, ensure that the third-party downloader applications are turned off and the network connection is configured properly. Also, if a proxy is in use, then ensure that the proxy authentication is turned off. 11. I encountered the error "Error 1722. There is a problem with this Windows installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor." See Error 1722: Problem with Windows Installer Package. If you encounter any other errors or issues, then you can access Java Help Center, which contains solutions for issues that you might encounter when downloading and installing Java on your system. In particular, you can search for solutions by error number. Searching for "Error 1722" returns a solution to this issue. How do I Uninstall a Windows Update?Uninstall Windows 10 updates from Windows Settings (or Control Panel). Open the Start Menu on your machine and go to Settings.. From the Settings window, select Update & Security.. On the Windows Update page, click on View update history.. In the View update history window, click on Uninstall updates.. Which tool is used to remove a Windows Update?Windows updates can also be uninstalled from the command prompt. To do it, there is a built-in CLI tool wusa.exe (Windows Update Standalone Installer). A user must confirm the removing of the update.
Where can you find the Windows Update settings in Windows 10?In Windows 10, you decide when and how to get the latest updates to keep your device running smoothly and securely. To manage your options and see available updates, select Check for Windows updates. Or select the Start button, and then go to Settings > Update & Security > Windows Update .
How do you Uninstall Windows updates Windows 11?Open the Start menu and type "Windows Update Settings" Click the Windows Update settings option that pops up. Select View Update History. Select Uninstall Update.
|