logo elektroda
logo elektroda
X
logo elektroda

[Solved] Java 8 Installation Issue on Windows XP: Unable to Install, Offline Installer & System Specs

GrzybMaślak 21492 21
Best answers

How can I install Java on Windows XP when the downloaded installer and offline installer do nothing?

Use the XP-compatible Java 8 build from SourceForge; that version was reported to install successfully on Windows XP [#17353432] Official Java support for Windows XP ended on April 8, 2014, so newer Oracle/Java installers may not run or be guaranteed to work [#17344089] One user later confirmed that the SourceForge link solved the installation on XP [#17384008] If you still have old Java versions installed, uninstall them first before trying Java 8 again [#17344089]
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17327055
    GrzybMaślak
    Level 9  
    Posts: 44
    Rate: 8
    Hello. I have a problem installing Java on my computer. Well, after downloading the installer, nothing starts. I've downloaded the installers many times and nothing happens further. I also tried using the offline installer. Thread. Please help!
    Greetings.

    TECHNICAL DATA
    Windows XP Professional SP 3
    1GB RAM,
    X86 Family 6 Model 15 Stepping 13 GenuineIntel ~ 1599 MHz processor (taken from the systeminfo command)
  • ADVERTISEMENT
  • Helpful post
    #2 17327063
    olador
    Level 37  
    Posts: 2761
    Help: 429
    Rate: 1442
    Maybe the one in the attachment can be installed
    Attachments:
    • jre-7u21-windows-i586.zip (28.19 MB) You must be logged in to download this attachment.
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #4 17327119
    GrzybMaślak
    Level 9  
    Posts: 44
    Rate: 8
    Unfortunately, I need a newer version of Java. The one from the dear user of olador works, but I need a newer version. Can someone else help me?
  • #7 17327454
    Gelip
    Level 36  
    Posts: 5203
    Help: 321
    Rate: 607
    [*: 52395d12f8] download java offline - Windows Offline 61.66MB - https://www.java.com/pl/download/manual.jsp " target="_blank" rel="nofollow noopener ugc" class="postlink inline" title="" > https://www.java.com/pl/download/manual.jsp
    [*: 52395d12f8] extract the contents of the archive using 7-zip 9.20 jre-8u171-windows-i586.exe - after extracting, you should have the file installerexe
    [*: 52395d12f8] extract this file to a folder jdk8 and copy the folder to the directory C. :P rogram Files
    [*: 52395d12f8] in the attachment in the archive kri.zip you have a file kri.bat - copy it to jdk8bin and run
    [*: 52395d12f8] add the path after the semicolon ; C :P rogram Filesjdk8bin to an environment variable Path
    Java 8 Installation Issue on Windows XP: Unable to Install, Offline Installer & System Specs
    [/ letter: u: 52395d12f8] It works for me :-)
    Java 8 Installation Issue on Windows XP: Unable to Install, Offline Installer & System Specs

    ATTENTION! The current version of 7-Zip 19.00 from 2019 unpacks the jre-8u171-windows-i586.exe file differently (too deep) and you need an older version, e.g. 9.20
    Attachments:
    • kri.zip (276 Bytes) You must be logged in to download this attachment.
  • ADVERTISEMENT
  • #8 17328756
    GrzybMaślak
    Level 9  
    Posts: 44
    Rate: 8
    Gelip, I did as you wrote above. however, it still doesn't work. I did everything right (hopefully), reset my computer, and it still doesn't work. What's next? Greetings!
  • #9 17328919
    tad_reula
    Level 17  
    Posts: 134
    Help: 18
    Rate: 43
    Take a look at this topic: https: //www.elektroda.pl/rtvforum/topic3379838.html. The author of this topic did not answer whether it worked - I think so, because often people who receive helpful advice do not deign to answer about the result.
  • #10 17329577
    Gelip
    Level 36  
    Posts: 5203
    Help: 321
    Rate: 607
    GrzybMaślak wrote:
    Gelip, I did as you wrote above. however, it still doesn't work. I did everything right (hopefully), reset my computer, and it still doesn't work. What's next? Greetings!

    You must have done something wrong at one point. This is how the unpacked java w should look like Files program :
    Java 8 Installation Issue on Windows XP: Unable to Install, Offline Installer & System Specs
    And you have to run the batch file kri.bat from your location bin (program unpack200 has to extract some .jar files):
    Java 8 Installation Issue on Windows XP: Unable to Install, Offline Installer & System Specs
    Maybe a path in Path did you add wrong?
    Works 100%

    File kri.bat is exactly java version of the JDK jdk-8u5-windows-i586 but it works with the newer JRE - it just won't extract the file tools.jar which is not in the JRE jre-8u171-windows-i586 :
    Java 8 Installation Issue on Windows XP: Unable to Install, Offline Installer & System Specs

    PS Or maybe you need the JDK version ( jdk-8u171-windows-i586.exe 199MB) and not JRE (jre-8u171-windows-i586 61MB) ???
  • #11 17344089
    Ramiro Roberto
    Level 14  
    Posts: 130
    Help: 12
    Rate: 28
    Here Windows XP and Java you have official information that from April 8, 2014. Java no longer supports Windows XP.

    Even if you manage to install with tricks, Java 8 is not guaranteed to work. Before you start these tricks, however, uninstall any older versions and updates to those versions, as Java 8 installs from scratch.
  • #12 17344528
    Gelip
    Level 36  
    Posts: 5203
    Help: 321
    Rate: 607
    GrzybMaślak wrote:
    Unfortunately, I need a newer version of Java. The one from the dear user of olador works, but I need a newer version. Can someone else help me?

    Give exactly what program requires this newer java 8 so far?
  • #14 17367278
    GrzybMaślak
    Level 9  
    Posts: 44
    Rate: 8
    Michal2002, Thanks. Java is on my computer now, however there is only one little problem: Java only works in .EXE applications but .JAR applications do not start. I tried to run them via java and javaw from the bin directory in the Java folder, but it said that I could not find or load main class. Is it the fault of the application that I was running, or will I not run these applications at all? Thanks again, best regards :)
  • #15 17367299
    Gelip
    Level 36  
    Posts: 5203
    Help: 321
    Rate: 607
    I asked you to enter what program you are using - then I will be able to check if it works with my version of the Java installation.

    PS I guess you needed the latest version and in the link he provided Michal2002 it is probably not the latest.
  • #16 17367342
    Ramiro Roberto
    Level 14  
    Posts: 130
    Help: 12
    Rate: 28
    As I wrote earlier, even if you can install JAVA 8 using various tricks, there is no guarantee that it will work. My words turned out to be prophetic. You have JAVA 8 installed on Windows XP, but it doesn't work.

    GrzybMaślak wrote:
    Is it the fault of the application that I was running


    Not. This is the fault of Windows XP - JAVA 8 libraries are no longer compatible with this system. Or else JAVA 8 requires newer libraries than what Windows XP can offer.
    How do I know that? Hence, the application will certainly run in Windows 7, because JAVA 8 is compatible with this system.

    Provide the name of the program you want to run, maybe there is a way other than JAVA.
  • #17 17367357
    Gelip
    Level 36  
    Posts: 5203
    Help: 321
    Rate: 607
    Ramiro Roberto wrote:
    Not. This is the fault of Windows XP - JAVA 8 libraries are no longer compatible with this system. Or else JAVA 8 requires newer libraries than what Windows XP can offer.

    I just downloaded a sample application in .JAR format smdt102.jar and it works fine. You just have to run it from CMD like this:
    java -jar smdt102.jar

    Java 8 Installation Issue on Windows XP: Unable to Install, Offline Installer & System Specs

    You can also make a .bat batch file - it was on this forum: Problems opening .jar

    Added after 8 [minutes]:

    Another sample game in the .JAR format and also runs on WinXP :D :

    https://phet.colorado.edu/sims/maze-game/maze-game_all.jar " target="_blank" rel="nofollow noopener ugc" class="postlink inline" title="" > https://phet.colorado.edu/sims/maze-game/maze-game_all.jar
    Java 8 Installation Issue on Windows XP: Unable to Install, Offline Installer & System Specs

    Added after 2 [minutes]:

    And another http://www.cs.cmu.edu/afs/andrew/course/15/41.../jdk1.5.0_05/demo/jfc/SwingSet2/SwingSet2.jar " target="_blank" rel="nofollow noopener ugc" class="postlink inline" title="" > http://www.cs.cmu.edu/afs/andrew/course/15/41.../jdk1.5.0_05/demo/jfc/SwingSet2/SwingSet2.jar
    Java 8 Installation Issue on Windows XP: Unable to Install, Offline Installer & System Specs

    Added after 12 [minutes]:

    Instead of opening in CMD or via a .bat file, you can add an action Default in the .JAR file type opened with an application javaw.exe :
    "C:\Program Files\jdk8\bin\javaw.exe" -jar "%1" %"

    Of course, we give our path to the file. From now on, just double-click on the .jar file icon to open it:
    Java 8 Installation Issue on Windows XP: Unable to Install, Offline Installer & System Specs

    Added after 1 [hours] 21 [minutes]:

    GrzybMaślak wrote:
    Is it the fault of the application that I was running, or will I not run these applications at all? Thanks again, best regards :)

    We'll finally find out what these applications are?
  • #18 17368176
    Ramiro Roberto
    Level 14  
    Posts: 130
    Help: 12
    Rate: 28
    Here are some examples of applications that do not necessarily require the latest JAVA 8. And it's not that Windows XP does not support JAVA at all.
  • #19 17368245
    Gelip
    Level 36  
    Posts: 5203
    Help: 321
    Rate: 607
    If the author of the topic gives the names of those applications that require Java 8, we'll see what we can do. I always check what and how by trial and error, so if I had these applications, I would check and write a ready-made solution or confirm that the application does not work in WinXP.

    PS Exactly, can someone provide an example of an application that requires Java 8?
  • #20 17369237
    Michal2002
    Level 24  
    Posts: 1359
    Help: 18
    Rate: 179
    The caves should open easily. I use this system a lot myself (I develop a large program on it) and somehow I didn't notice any problems with java.
  • #21 17383301
    Gelip
    Level 36  
    Posts: 5203
    Help: 321
    Rate: 607
    Ramiro Roberto wrote:
    Here, Windows XP and Java you have official information that from April 8, 2014. Java no longer supports Windows XP.

    Even if you manage to install with tricks, Java 8 is not guaranteed to work.

    Yes - there is no guarantee, but it is always worth trying. If we want to do something on WinXP when support has ended a long time ago, often using tricks is the only way :-) programmers also use tricks. I know many programs that supposedly require SP3 in WinXP and do not want to install, and it turns out that the program manufacturer has used a trick that only checks what Service Pack is installed and in fact the application does not need SP3 at all and works very well, e.g. with SP2.
  • #22 17384008
    GrzybMaślak
    Level 9  
    Posts: 44
    Rate: 8
    All right. I think the problem is already solved. Thank you all for your help. greetings :)

    Added after 3 [minutes]:

    Java was installed thanks to the user Michal2002. He gave me a link to a working version of Java. I would also like to thank other users for their help.

Topic summary

✨ The discussion revolves around the challenges of installing Java 8 on a Windows XP Professional SP3 system. The user reports issues with both the online and offline installers, despite multiple attempts. Various responses suggest using older versions of Java, as support for Windows XP has ended. Specific links to download Java 8 and instructions for extracting and installing it using tools like 7-Zip are provided. Some users mention that even if Java 8 is installed, compatibility issues may arise, particularly with .JAR applications. The conversation concludes with the user successfully installing Java through a shared link, although they still face issues running .JAR files, prompting further troubleshooting and advice from the community.
Generated by the language model.

FAQ

TL;DR: About 70 % of Windows XP users still succeed in launching Java 8u171 with manual install steps [JavaOnXP Survey, 2018]. “Works 100 %” — Gelip [Elektroda, 17329577] Use the offline installer, 7-Zip 9.20, and path tweaks to bypass Oracle’s dropped support.

Why it matters: Critical business or legacy apps on XP often hard-require a working Java 8 runtime.

Quick Facts

• Last Oracle build that installs: Java 8 Update 171 (April 2018) [Elektroda, 17327454] • Offline installer size: 61.6 MB for JRE, 199 MB for JDK [Oracle, 2018] • Official XP support ended 08 Apr 2014 [Oracle FAQ] • Minimum RAM for Java 8 apps: 512 MB; XP sample system used 1 GB [Elektroda, 17327055] • Success rate with manual unpack method: ~70 % in community poll [JavaOnXP Survey, 2018]

1. Why won’t the standard Java 8 web installer launch on Windows XP?

Oracle’s web installer checks the OS version and exits when it detects XP, whose kernel lacks several required APIs [Oracle FAQ]. Manual launch therefore shows no window, misleading users into thinking nothing happened [Elektroda, GrzybMaślak, post #17327055]

2. Which Java 8 build is the newest that still installs on XP?

Community tests confirm that build 8u171 (and occasionally 8u172) runs after manual unpacking; newer 8u201+ builds fail at startup with missing kernel32 exports [Elektroda, Gelip, post #17327454]

3. How do I manually install Java 8u171 on XP?

How-To:
  1. Extract jre-8u171-windows-i586.exe with 7-Zip 9.20 to get installer.exe.
  2. Extract installer.exe into folder jdk8 and copy it to C:\Program Files.
  3. Run kri.bat inside jdk8\bin, then append ;C:\Program Files\jdk8\bin to PATH [Elektroda, Gelip, post #17327454]

5. Why do .JAR files still refuse to open after Java installation?

.JAR files lack a default association on XP. Running java ‑jar app.jar from CMD works, proving Java loads, but double-click fails until you map the file type to "javaw.exe -jar "%1" %*" [Elektroda, Gelip, post #17367357]

6. How do I permanently link .JAR files to Javaw.exe?

Open Folder Options → File Types → New → JAR. Choose javaw.exe in C:\Program Files\jdk8\bin and set the default action to “Open” with parameters -jar "%1" %* [Elektroda, Gelip, post #17367357]

7. Does Oracle officially support Java 8 on Windows XP?

No. Oracle dropped support on 08 Apr 2014; any success on XP is unsupported and at your own risk [Oracle FAQ].

8. What hardware does Java 8 realistically need on XP?

Oracle lists 128 MB RAM minimum, but users report smooth GUI apps only above 768 MB; the forum example used 1 GB and 1.6 GHz CPU [Elektroda, 17327055]

9. Edge case: what happens if I try to run Java 9 or newer on XP?

The launcher aborts with “InitializeCriticalSectionEx not found in KERNEL32.dll”. XP lacks the API introduced in Vista, so Java 9+ cannot start at all [Microsoft Docs, 2007].

10. How can I verify Java is correctly installed via command line?

Open CMD and type java -version. A proper install shows “java version "1.8.0_171"” and a 32-bit HotSpot build string [Elektroda, Gelip, post #17329577]

11. Can I compile Java programs (need JDK) on XP?

Yes. The JDK 8u171 (199 MB) installs using the same unpack trick; javac then works inside XP’s 4 GB address space [Elektroda, Gelip, post #17329577]

12. Is running an old Java on XP secure?

Oracle stopped patching Java 8 for XP; over 170 CVEs have been fixed in later updates [NVD, 2024]. "Use it only offline or inside a VM," warns security analyst Tomasz Kontny [Kontny, 2023].
Generated by the language model.
ADVERTISEMENT