TZupdater 破坏了 JRE 更新
手动安装新版本的 Olson timezone DB (2011h) 后,
现在破坏了更新 JRE,我无法安装到 6u29 的更新,同时更新显示消息: lib/zi/Asia/Anadyr:找不到旧文件。但是,发现了同名文件。 由于文件内容不匹配,因此未完成更新。
有人知道如何在不卸载以前版本的情况下解决此问题(用户无权执行此操作)?
After manually install new version of Olson timezone DB (2011h) broke update JRE
Now, I cant install update to 6u29, while updating shows message:
lib/zi/Asia/Anadyr: Old file not found. However, a file of the same name was found.
No update done since file contens do not match.
Anybody know how fix this problem without uninstall previos version (users don't have access to do this)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我相信 TZUpdater 创建了以前的时区信息的备份,
例如
C:\Program Files\Java\jre6\lib\zi.tzdata2011g
要恢复到以前的时区数据,请删除当前的 zi 目录,然后重命名将备份的 zi 目录(例如
zi.tzdata2011g
)复制到zi
。这就是我从前从损坏的
TZUpdate
中恢复的方法一旦你有了旧的时区信息,你的更新应该按预期工作
I believe that TZUpdater creates a backup of the previous timezone information
e.g.
C:\Program Files\Java\jre6\lib\zi.tzdata2011g
To revert back to previous timezone data, delete the current zi directory then rename the backup zi directory (e.g.
zi.tzdata2011g
) tozi
.This is how I was able to recover from a corrupt
TZUpdate
once upon a timeOnce you have the old timezone information, your update should work as expected
我找到了解决方案
http://www.java.com/en/download/help /old_files.xml
http://www.oracle.com/us/technologies/java/fpupdater-tool-readme-305936.html
Windows
在基于 Windows 的系统上,修补系统可能需要几分钟的时间。
如果自动更新在已应用 FPUpdater 的 JRE 上运行,则该更新的安装将失败。下载将正常进行。然后用户将看到一系列错误消息。
警告:lib/rt.jar:未找到旧文件。但是,发现了同名文件。由于文件内容不匹配,因此未完成更新。
错误:Java(TM) 更新无法将更改应用到您的系统。
Java 安装程序:错误 1722。此 Windows Installer 程序包有问题。作为安装一部分运行的程序未按预期完成。请联系您的支持人员或软件包供应商。
Java 安装程序:安装失败
要解决此问题,应下载并安装离线安装程序。如果安装了 6u24 之前的版本,则需要再次运行 FPUpdater 工具来修补新安装的 JRE。
I found the solution
http://www.java.com/en/download/help/old_files.xml
http://www.oracle.com/us/technologies/java/fpupdater-tool-readme-305936.html
Windows
On Windows based systems, patching the system may take several minutes.
If Auto-Update is run on a JRE on which FPUpdater, has been applied, the installation of that update will fail. The download will take place as normal. Then the user will see a series of error messages.
Warning: lib/rt.jar: Old File not found. However, a file of the same name was found. No update done since file contents do not match.
Error: Java(TM) Update fails to apply changes to your system.
Java Setup: Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
Java Setup: Installation Failed
To resolve this, the Offline installer should be downloaded and installed. If a release prior to 6u24 is installed, the FPUpdater tool will need to be run again to patch the newly installed JRE.