Install Java8 (JDK8) under Windows XP

Source: Internet
Author: User

JAVA8 has been officially released for some time, bringing exciting new features. But an unacceptable feature of JAVA8 is that Windows XP is not supported. The installation will report that the "unable to locate the program input point regdeletekeyexa on the dynamic link library ADVAPI32.dll." Error As shown, this article is for everyone to share how to solve this disgusting problem

Tools/Materials
    • JDK8 installation Package

    • 7-zip Decompression Tool

Method/Step
  1. Download JDK8 installation package, address:

    Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

  2. Download 7-zip unpacking Kit and install, address:

    32-bit version: Http://downloads.sourceforge.net/sevenzip/7z920.exe

    64-bit version: Http://downloads.sourceforge.net/sevenzip/7z920-x64.msi

  3. Place the downloaded Java installation package under the JDK path that will be installed, which I placed under C:\Program files\java\jdk8; Extract the installation package to the current directory using the 7-zip decompression tool to get the Tools.zip package

  4. Extract the extracted tools.zip again through 7-zip to the current directory to get the JDK file:

    Bin

    Db

    Include

    Jre

    Lib

    LICENSE

    Readme.html

    ThirdParty

    Licensereadme-javafx.txt

    ThirdParty

    LICENSEREADME.txt

    Javafx-src.zip

    Release

  5. Open the Lib directory and you'll find that the former Tools.jar became tools.pack and Jre/lib Rt.jar into Rt.pack.

  6. So we need to return him to our familiar form, the Bin/unpack200.exe under the JDK is the tool for conversion, and we just need to invoke the tool on the command line to perform the transformation.

    C:\Documents and SETTINGS\ADMINISTRATOR>CD C:\Program files\java\jdk8

    C:\Program files\java\jdk8>for/r%f in (*.pack) do "C:\Program Files\java\jdk8\bin\unpack200.exe"-r-v "%f" "%~pf%~nf . Jar "

    Then the conversion is complete.

  7. Then the JDK is ready, just configure the environment variables to use:

    Java_home=c:\program Files\java\jdk8

    Path=%java_home%\bin

  8. Close the Command window before you reopen the command line, test the current JDK version correctly, and then you're done!


Install Java8 (JDK8) under Windows XP

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.