Page 1 of 1

The latest Java version still works under XP

Posted: 19 May 2021, 21:27
by blueclouds8666
I've been tinkering around with windows XP, and discovered you can actually run the newest and latest java version, that is 8 update 291 from April 2021, after some tweaking with XomPie. I've been testing it out with different applications, including minecraft, and seems to run and perform as expected, although i can't promise perfect functionality. Java XP support was already dropped 6 years ago.

You can get it to run by installing Java 8u152, replacing the program files binaries by the ones from 291, and then patching every .exe file with PE flags and kernel32.dll using XomPie 0.6 (you also have to patch management.dll). Eariler versions such as 8u241 are easier to install, as it doesn't need patching. Eitherways, if any of you are interested, everything is explained on my website: http://neonfloppy.sytes.net/docs/software-winxp/java/

Java 9 and later don't run, but those are intended for server and embedded scenarios only, not for the consumer or average user. I might try running Java 9+ under XP on a future occasion but that's for another day.
Also, i haven't tried it myself but maybe this procedure works as well with Windows 2000 kernel extended.

The latest Java version still works under XP

Posted: 20 May 2021, 01:23
by K4sum1
I'm pretty sure I ran into missing functions with newer OpenJDK versions on NT 5.2, but I guess regular Java is different.

The latest Java version still works under XP

Posted: 21 May 2021, 05:00
by Compa
R3n wrote: 20 May 2021, 01:23 I'm pretty sure I ran into missing functions with newer OpenJDK versions on NT 5.2, but I guess regular Java is different.
Wouldn't surprise me. At least Oracle did something right for once, though (other than not murdering VirtualBox) :P

The latest Java version still works under XP

Posted: 10 Aug 2024, 13:58
by blueclouds8666
I have recently been re-testing modern versions of Java under Windows XP, and i've come to realize there have been some deficiencies and important bugs in the instructions that i previously shared here years ago, which i believe needed to be addressed. Perhaps the biggest one is that, for a majority of java applications, keyboard input caused it to immediately crash: this was due to a bug with the Swing interface library, easily addessed by replacing a single dll file. I have also, for the first time, performed comprehensive tests against the JavaFX library, including its WebKit embedded browser component, which posed several complexities, but i have nevertheless worked out a solution for those who may need it. Issues that prevented Java applets to work, as well as the Java control panel to not open, have also been sorted out.

All of this has allowed me to run the latest and newest revision of Java 8, which currently is 8u421, on Windows XP with XomPie, working without any major issues or glitches. Instructions are now live at my website:
http://neonfloppy.sytes.net/software/winxp/java/

Moreover, Windows Vista can also run 8u421, provided Extended Kernel or XomPie are installed on the system. Previous versions have also been revised to include all of the mentioned workarounds, so they can be run on vanilla Vista. More details here:
http://neonfloppy.sytes.net/software/winvista/java/