参考:
如何在XP系统配置java8(jdk8)环境 - 简书
jdk-8u381-windows-i586.exe
jdk-8u202-windows-i586.exe
实验了一下,8u381不支持winxp xp3
下载地址:
https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html
https://download.oracle.com/otn/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-windows-i586.exe?AuthParam=1696148798_f2c57a99ace572e3910ca29b0d2b3b5f
jdk-8u202-windows-i586.exe文件哈希:
CRC32: 0F1A7D20
MD5: B8AE361CB74A110EBE7BF0F894BE7F07
SHA-1: B698D2507B5D6FE4B77D57F4EB59F3490E57CAE0
md "C:\Program Files\Java\jdk1.8.0_202"
cd "C:\Program Files\Java\jdk1.8.0_202"
FOR /R %f IN (*.pack) DO "C:\Program Files\Java\jdk1.8.0_202\bin\unpack200.exe" -r -v "%f" "%~pf%~nf.jar"
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_202
set Path=%JAVA_HOME%\bin
java -version
最后发现,还有简单办法:
https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html
https://download.oracle.com/otn/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jre-8u202-windows-i586.tar.gz?AuthParam=1696148866_26d79eacb41a2056754850eff96d432e
这个直接解压就能用.
jre-8u202-windows-i586.tar.gz 的哈希
CRC32: 2D8F85B9
MD5: 7AAF45B60314D6829174DEE2F99EBBAA
SHA-1: 4956672A3C4364D6F4E2D1E1AFCBE8BCD5797D63