[Java] SDK 8在Windows XP上的安装

博客首页 » Java SDK 8在Windows XP上的安装

发布于 22 Dec 2015 06:30
标签 blog
Java SE SDK 8在Windows XP上的安装会报错,但是那只是安装程序的问题,我们完全可以跳过安装程序,手动安装。
http://jingyan.baidu.com/article/ae97a646aa47aebbfd461df1.html

C:\>mkdir D:\usr\java

C:\>pushd D:\usr\java

D:\usr\java>7z.exe x C:\jdk-8u66-windows-i586.exe

D:\usr\java>rename tools jdk1.8.0_66

D:\usr\java>cd jdk1.8.0_66

D:\usr\java\jdk1.8.0_66>FOR /R %f IN (*.pack) DO "bin\unpack200.exe" -r -v "%f" "%~pf%~nf.jar"

D:\usr\java\jdk1.8.0_66>"bin\unpack200.exe" -r -v "D:\usr\java\jdk1.8.0_66\jre\lib\charsets.pack" "\usr\java\jdk1.8.0_66\jre\lib\charsets.jar"
Unpacking from D:\usr\java\jdk1.8.0_66\jre\lib\charsets.pack to \usr\java\jdk1.8.0_66\jre\lib\charsets.jar
com.sun.java.util.jar.pack.unpack.log.file=-
unpack.deflate.hint=(not set)
com.sun.java.util.jar.pack.unpack.remove.packfile=true
com.sun.java.util.jar.pack.verbose=1
com.sun.java.util.jar.pack.unpack.modification.time=(not set)
unpacker completed with status=0
A total of 1097952 bytes were read in 1 segment(s).
A total of 3058682 file content bytes were written.
A total of 212 files (of which 209 are classes) were written to output.

D:\usr\java\jdk1.8.0_66>"bin\unpack200.exe" -r -v "D:\usr\java\jdk1.8.0_66\jre\lib\deploy.pack" "\usr\java\jdk1.8.0_66\jre\lib\deploy.jar"
Unpacking from D:\usr\java\jdk1.8.0_66\jre\lib\deploy.pack to \usr\java\jdk1.8.0_66\jre\lib\deploy.jar
com.sun.java.util.jar.pack.unpack.log.file=-
unpack.deflate.hint=(not set)
com.sun.java.util.jar.pack.unpack.remove.packfile=true
com.sun.java.util.jar.pack.verbose=1
com.sun.java.util.jar.pack.unpack.modification.time=(not set)
unpacker completed with status=0
A total of 1867744 bytes were read in 1 segment(s).
A total of 4756082 file content bytes were written.
A total of 1176 files (of which 1046 are classes) were written to output.

D:\usr\java\jdk1.8.0_66>"bin\unpack200.exe" -r -v "D:\usr\java\jdk1.8.0_66\jre\lib\javaws.pack" "\usr\java\jdk1.8.0_66\jre\lib\javaws.jar"
Unpacking from D:\usr\java\jdk1.8.0_66\jre\lib\javaws.pack to \usr\java\jdk1.8.0_66\jre\lib\javaws.jar
com.sun.java.util.jar.pack.unpack.log.file=-
unpack.deflate.hint=(not set)
com.sun.java.util.jar.pack.unpack.remove.packfile=true
com.sun.java.util.jar.pack.verbose=1
com.sun.java.util.jar.pack.unpack.modification.time=(not set)
unpacker completed with status=0
A total of 210265 bytes were read in 1 segment(s).
A total of 870345 file content bytes were written.
A total of 409 files (of which 392 are classes) were written to output.

D:\usr\java\jdk1.8.0_66>"bin\unpack200.exe" -r -v "D:\usr\java\jdk1.8.0_66\jre\lib\jsse.pack" "\usr\java\jdk1.8.0_66\jre\lib\jsse.jar"
Unpacking from D:\usr\java\jdk1.8.0_66\jre\lib\jsse.pack to \usr\java\jdk1.8.0_66\jre\lib\jsse.jar
com.sun.java.util.jar.pack.unpack.log.file=-
unpack.deflate.hint=(not set)
com.sun.java.util.jar.pack.unpack.remove.packfile=true
com.sun.java.util.jar.pack.verbose=1
com.sun.java.util.jar.pack.unpack.modification.time=(not set)
unpacker completed with status=0
A total of 178389 bytes were read in 1 segment(s).
A total of 604307 file content bytes were written.
A total of 155 files (of which 153 are classes) were written to output.

D:\usr\java\jdk1.8.0_66>"bin\unpack200.exe" -r -v "D:\usr\java\jdk1.8.0_66\jre\lib\plugin.pack" "\usr\java\jdk1.8.0_66\jre\lib\plugin.jar"
Unpacking from D:\usr\java\jdk1.8.0_66\jre\lib\plugin.pack to \usr\java\jdk1.8.0_66\jre\lib\plugin.jar
com.sun.java.util.jar.pack.unpack.log.file=-
unpack.deflate.hint=(not set)
com.sun.java.util.jar.pack.unpack.remove.packfile=true
com.sun.java.util.jar.pack.verbose=1
com.sun.java.util.jar.pack.unpack.modification.time=(not set)
unpacker completed with status=0
A total of 492037 bytes were read in 1 segment(s).
A total of 1780191 file content bytes were written.
A total of 864 files (of which 773 are classes) were written to output.

D:\usr\java\jdk1.8.0_66>"bin\unpack200.exe" -r -v "D:\usr\java\jdk1.8.0_66\jre\lib\rt.pack" "\usr\java\jdk1.8.0_66\jre\lib\rt.jar"
Unpacking from D:\usr\java\jdk1.8.0_66\jre\lib\rt.pack to \usr\java\jdk1.8.0_66\jre\lib\rt.jar
com.sun.java.util.jar.pack.unpack.log.file=-
unpack.deflate.hint=(not set)
com.sun.java.util.jar.pack.unpack.remove.packfile=true
com.sun.java.util.jar.pack.verbose=1
com.sun.java.util.jar.pack.unpack.modification.time=(not set)
unpacker completed with status=0
A total of 16581411 bytes were read in 1 segment(s).
A total of 59803388 file content bytes were written.
A total of 19731 files (of which 19729 are classes) were written to output.

D:\usr\java\jdk1.8.0_66>"bin\unpack200.exe" -r -v "D:\usr\java\jdk1.8.0_66\jre\lib\ext\jfxrt.pack" "\usr\java\jdk1.8.0_66\jre\lib\ext\jfxrt.jar"
Unpacking from D:\usr\java\jdk1.8.0_66\jre\lib\ext\jfxrt.pack to \usr\java\jdk1.8.0_66\jre\lib\ext\jfxrt.jar
com.sun.java.util.jar.pack.unpack.log.file=-
unpack.deflate.hint=(not set)
com.sun.java.util.jar.pack.unpack.remove.packfile=true
com.sun.java.util.jar.pack.verbose=1
com.sun.java.util.jar.pack.unpack.modification.time=(not set)
unpacker completed with status=0
A total of 5516015 bytes were read in 1 segment(s).
A total of 17069866 file content bytes were written.
A total of 6424 files (of which 5619 are classes) were written to output.

D:\usr\java\jdk1.8.0_66>"bin\unpack200.exe" -r -v "D:\usr\java\jdk1.8.0_66\jre\lib\ext\localedata.pack" "\usr\java\jdk1.8.0_66\jre\lib\ext\localedata.
jar"
Unpacking from D:\usr\java\jdk1.8.0_66\jre\lib\ext\localedata.pack to \usr\java\jdk1.8.0_66\jre\lib\ext\localedata.jar
com.sun.java.util.jar.pack.unpack.log.file=-
unpack.deflate.hint=(not set)
com.sun.java.util.jar.pack.unpack.remove.packfile=true
com.sun.java.util.jar.pack.verbose=1
com.sun.java.util.jar.pack.unpack.modification.time=(not set)
unpacker completed with status=0
A total of 1338667 bytes were read in 1 segment(s).
A total of 2173415 file content bytes were written.
A total of 438 files (of which 433 are classes) were written to output.

D:\usr\java\jdk1.8.0_66>"bin\unpack200.exe" -r -v "D:\usr\java\jdk1.8.0_66\lib\tools.pack" "\usr\java\jdk1.8.0_66\lib\tools.jar"
Unpacking from D:\usr\java\jdk1.8.0_66\lib\tools.pack to \usr\java\jdk1.8.0_66\lib\tools.jar
com.sun.java.util.jar.pack.unpack.log.file=-
unpack.deflate.hint=(not set)
com.sun.java.util.jar.pack.unpack.remove.packfile=true
com.sun.java.util.jar.pack.verbose=1
com.sun.java.util.jar.pack.unpack.modification.time=(not set)
unpacker completed with status=0
A total of 5136624 bytes were read in 1 segment(s).
A total of 17252697 file content bytes were written.
A total of 4968 files (of which 4664 are classes) were written to output.

本页面的文字允许在知识共享 署名-相同方式共享 3.0协议和GNU自由文档许可证下修改和再使用,仅有一个特殊要求,请用链接方式注明文章引用出处及作者。请协助维护作者合法权益。


系列文章

文章列表

  • Java SDK 8在Windows XP上的安装

这篇文章对你有帮助吗,投个票吧?

rating: 0+x

留下你的评论

Add a New Comment