Download Java Se Development Kit 8u171 8u172-macosx-x64.dmg

This topic includes the following sections:

  1. Jdk-8u201-macosx-x64.dmg
  2. Jdk-8u151-macosx-x64.dmg
  3. Jdk-8u172-macosx-x64.dmg
  4. Jdk-8u162-macosx-x64.dmg Download

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

Java free download - Java Runtime Environment (JRE) (64-Bit), DJ Java Decompiler, Java SE Development Kit 8, and many more programs.

For any text in this document that contains the following notation, you must substitute the appropriate update version number:

  • Oracle Java Downloads. Contribute to ZachCheung/oracle-java-downloads development by creating an account on GitHub.
  • Java SE Development Kit 8 Downloads. Thank you for downloading this release of the Java™ Platform, Standard Edition Development Kit (JDK™). The JDK is a development environment for building applications, applets, and components using the Java programming language.

interim.update.patch

For example, if you are downloading the JDK installer for 64-bit systems for update 11 Interim 0, Update 0, and Patch 0, then the file name jdk-11.interim.update.patch_windows-x64_bin.exe becomes jdk-11_windows-x64_bin.exe.

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

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-11.interim.update.patch_windows-x64_bin.exe.

Note:

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.

Running the JDK Installer

You must have administrator privilege to install the JDK on Microsoft Windows.
  1. Start the JDK 11 installer by double-clicking the installer's icon or file name in the download location.
  2. Follow the instructions provided by the Installation wizard.
  3. After the installation is complete, delete the downloaded file to recover the disk space.

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 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 jdk-11_windows-x64_bin.exe.

Installation ScenarioCommand
Install JDK in silent mode.
Install development tools and source code in silent mode.

Setting the PATH Environment Variable

It is useful to set the PATH variable permanently for JDK 11 so that it is persistent after rebooting.

If you do not set the PATH variable, then you must specify the full path to the executable file every time that you run it. For example:

To set the PATH variable permanently, add the full path of the jdk-11bin directory to the PATH variable. Typically, the full path is:
  1. Select Control Panel and then System.
  2. Click Advanced and then Environment Variables.
  3. Add the location of the bin folder of the JDK installation to the PATH variable in System Variables.

    Note:

    The PATH environment variable is a series of directories separated by semicolons (;) and is not case-sensitive. Microsoft Windows looks for programs in the PATH directories in order, from left to right.

    You should only have one bin directory for a JDK in the path at a time. Those following the first instance are ignored.

    If you are not sure where to add the JDK path, append it.

    The new path takes effect in each new command window that you open after setting the PATH variable.

    The following is a typical value for the PATH variable:

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.

Jdk-8u201-macosx-x64.dmg

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: %ALLUSERSPROFILE%MicrosoftWindowsStart MenuPrograms.

Uninstalling the JDK on Windows

To uninstall JDK 11, 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:

For example, to uninstall JDK 11, 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

  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.

  3. Click Edit and then Find.

    Note:

    Highlight Uninstall folder before performing search for a particular registry.
  4. Enter version string as value to find corresponding registry key. For example, enter jdk-11.

    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.

  5. Note the value of the UninstallString.

JDK Installation Troubleshooting

The following sections provide tips for resolving issues, if any, while installing JDK.

System Error During Decompression

Jdk-8u151-macosx-x64.dmg

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

Jdk-8u172-macosx-x64.dmg

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:

Jdk-8u162-macosx-x64.dmg Download

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

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

You are free to use whatever development environment you want, but CIS 121’ssupported IDE is Eclipse. This means the TAs will be able to provide the mosthelp on this IDE.

Step 1: Install Java 8

  1. To run Eclipse, a Java Runtime Environment (JRE) must be installed. You canverify that you have the JDK 8 installed by running the `java -versioncommand (from the Command prompt in Windows or the terminal on Mac):

    You should see output similar to lines 2-4 above. Any higher version of Java 8 will also work for this class.

  2. If you do not have the JDK 8 installed, you can download it fromthis site.Select the version for your OS from the table titled “Java SE Development Kit8u171” (or whatever odd number it’s currently at). Do not download evennumbered one, as that one is not a safe build.

    Alternatively, if you are running on OS X and prefer Homebrew, you can usethat. Be sure to install Java 8.

    Note: It is best to do this step before installing Eclipse.

Step 2: Install Eclipse

We recommend that you use an Eclipse release version later than Eclipse “OXYGEN”, earlier versions will not work with the style checker. Make sure you have completedStep 1 before installing Eclipse.

  1. Visit the Eclipse download page
  2. Click on the link for your platform on the right side of the screen andinstall it by simply unpacking the downloaded file onto your desktop.
  3. Launch Eclipse.
  4. The first time you run Eclipse, you need to choose a workspace (a folder thatstores your projects).

Step 3: Make Sure Eclipse is Running Java 8

  1. Set Eclipse compiler to compliance level 1.8: Window $rightarrow$Preferences $rightarrow$ Java $rightarrow$ Compiler. Set the compliancelevel to 1.8.
  2. Set project compliance level: Click on the project you are working on in thepackage explorer, then Project $rightarrow$ Properties $rightarrow$Java Compiler. Set the compliance level to 1.8.
  3. Set default Eclipse JRE to Java 8: Window $rightarrow$ Preferences$rightarrow$ Java $rightarrow$ Installed JREs $rightarrow$ add$rightarrow$ Standard VM $rightarrow$ Directory (Find the installed JDK 8 version)
    • The usual location depends on your operating system. You may want tosearch online if you have issues with this step, or come to OH.
    • If you created a project before setting the default version to 1.8, youwill need to update your build path.
  4. Set Execution environment: Window $rightarrow$ Preferences $rightarrow$Java $rightarrow$ Installed JREs $rightarrow$ Execution Environment$rightarrow$ JavaSE-1.8