It's not the easiest or the best method, but it's the one I like to use.
I use AdoptOpenJDK, and up to release 8u242 works. However you will need to mod it.
For XP x64: https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u242-b08/OpenJDK8U-jre_x64_windows_hotspot_8u242b08.msi
For XP x86: https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u242-b08/OpenJDK8U-jre_x86-32_windows_hotspot_8u242b08.msi
To modify it for XP, you'll need these two below.
Orca: https://www.technipages.com/downloads/OrcaMSI.zip
winvertroll: https://cdn.discordapp.com/attachments/882655373994123314/1116942315613847692/winvertroll.exe
Install Orca, then right click the OpenJDK8 installer, and click Edit with Orca.
In Orca, go to Launch Condition, select the one with "Windows 7 or later is required" as the description, right click and drop row.
Save and close Orca, then install OpenJDK8.
Navigate to C:\Program Files\AdoptOpenJDK\jre-8.0.242.08-hotspot\bin, and drag both java.exe and javaw.exe onto winvertroll.exe.
Now you have Java 8 on XP!
For Java 17, you need One Core API. One Core API is unstable, but is the only way to get this working as far as I know.
Get Java 17 from here: https://adoptium.net/temurin/releases/
Select Windows as Operating System, and JRE as Package Type.
Download the one for your system.
Repeat the Orca steps for Java 17 and install.
If this fails, I've only tested with 17.0.5+8, which can be found in the archive. The latest should be fine, but I haven't tested it. I will soon though.
Now you have Java 17 on XP!
Java 8 (and 17) on XP
Who is online
Users browsing this forum: No registered users and 0 guests