Eclipse Community

Java 8 (and 17) on XP

Post Reply   Page 1 of 1  [ 1 post ]
First unread post
Author Message
K4sum1
Post subject: Java 8 (and 17) on XP
+ Posted: 10 Jun 2023, 03:11
Lazy Owner
User avatar
Offline
 
Posts: 891
Joined: 11 Jan 2021, 07:40
Location: ur dads house
OS: Windows 8.1 x64
 
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

WindowsVersionTroll: https://board.eclipse.cx/viewtopic.php?t=652

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!

_________________

I don't know what I'm doing hit album by Brad Sucks


Top
Profile Quote
Display: Sort by: Direction:
Post Reply   Page 1 of 1  [ 1 post ]
Return to “Compatibility Mods”
Jump to:

Who is online

Users browsing this forum: No registered users and 4 guests