Oracle10g与JDK1.6不兼容问题
JDK环境是1.6 update 30
在Windows下安装Oracle10g时卡在一个进度不能进行下去,查看log日志
java.util.zip.ZipException: invalid entry size (expected 931307 but got 931309 bytes)
at java.util.zip.ZipInputStream.readEnd(Unknown Source) at java.util.zip.ZipInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source) at oracle.sysman.oii.oiix.OiixFileOps.copyStream(OiixFileOps.java:1421)
at oracle.sysman.oii.oiij.OiijFastJarExtracter.copyFileFromJar(OiijFastJarExtracter.java:258)
at oracle.sysman.oii.oiij.OiijFastJarExtracter.copyJarContents(OiijFastJarExtracter.java:194)
at oracle.sysman.oii.oiij.OiijFastJarExtracter.extract(OiijFastJarExtracter.java:143)
at oracle.sysman.oii.oiij.OiijJarExtractQueue$OiijJarExtractWorker.run(OiijJarExtractQueue.java:341)
怀疑为JRE版本问题
查Google:Oracle 10g的jdbc驱动程序支持jdk1.4、jdk1.5,11g的支持jdk1.6。
换个10g 的仅服务端的安装程序重新安装,问题不再出现。