在 windows 8.1 上安装 JDK 8 时回滚操作
Rolling back action when install JDK 8 on windows 8.1
当我在 windows 8.1 x64(最后更新)上安装 JDK 8u45 时,我收到向导的回滚操作并且安装完成,这是错误日志
Action 22:26:50: PublishProduct. Publishing product information
1: {64A3A4F4-B792-11D6-A78A-00B0D0180450}
Action 22:26:50: unziptools. Extracting Installer
CustomAction unziptools returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 22:26:51: InstallFinalize. Return value 3.
Action 22:26:51: Rollback. Rolling back action:
Rollback: Extracting Installer
Rollback: Publishing product information
Rollback: Publishing product features
Rollback: Registering product
Rollback: Registering user
Rollback: Writing system registry values
Rollback: Copying new files
Rollback: Creating folders
Rollback: Removing files
Rollback: Removing ODBC components
Rollback: Updating component registration
Action ended 22:26:51: INSTALL. Return value 3.
Action ended 22:26:51: ExecuteAction. Return value 3.
Action 22:26:51: SetupCompleteError.
Action start 22:26:51: SetupCompleteError.
Action 22:26:51: SetupCompleteError. Dialog created
Action ended 22:26:54: SetupCompleteError. Return value 2.
Action ended 22:26:54: INSTALL. Return value 3.
=== Logging stopped: 15/04/2015 22:26:54 ===
MSI (c) (F8:D4) [22:26:54:995]: Product: Java SE Development Kit 8 Update 45 (64-bit) -- Installation operation failed.
MSI (c) (F8:D4) [22:26:54:997]: Windows Installer installed the product. Product Name: Java SE Development Kit 8 Update 45 (64-bit). Product Version: 8.0.450.14. Product Language: 1033. Manufacturer: Oracle Corporation. Installation success or error status: 1603.
但我在 windows 7 SP1 x64 上安装成功
谁能帮帮我!
错误似乎源自 unziptools
CustomAction unziptools returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
这是加入 AD 的本地化 W8.1 中的一个已知错误,尽管它似乎被标记为已修复。
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8050838
如果您使用的不是英语,一个可能的解决方法是转到您的控制面板、区域设置并安装英语语言包。
还要确保检查选项,如下图所示:
另一个可能的解决方案在bug中标出:
https://bugs.openjdk.java.net/browse/JDK-8028366
解决方案是关闭所有打开的浏览器并终止它们的进程,因为安装无法删除与 jre/jdk.
相关的一些文件
错误未显示在日志中,因为这些错误被错误地标记为信息,但错误应显示如下:
Info 1603.The file C:\Program Files\Java\jre6\bin\jp2ssv.dll is being held in use by the following process: Name: iexplore, ID: 1860, Window Title: (not determined yet). Close that application and retry.
Info 1603.The file C:\Program Files\Java\jre6\bin\jp2ssv.dll is being held in use by the following process: Name: iexplore, ID: 7708, Window Title: (not determined yet). Close that application and retry.
Info 1603.The file C:\Program Files\Java\jre6\bin\jp2ssv.dll is being held in use by the following process: Name: iexplore, ID: 6280, Window Title: (not determined yet). Close that application and retry.
Info 1603.The file C:\Program Files\Java\jre6\bin\ssv.dll is being held in use by the following process: Name: iexplore, ID: 1860, Window Title: (not determined yet). Close that application and retry.
Info 1603.The file C:\Program Files\Java\jre6\bin\ssv.dll is being held in use by the following process: Name: iexplore, ID: 7708, Window Title: (not determined yet). Close that application and retry.
Info 1603.The file C:\Program Files\Java\jre6\bin\ssv.dll is being held in use by the following process: Name: iexplore, ID: 6280, Window Title: (not determined yet). Close that application and retry.
我终于找到了解决方案,我正在卸载一些其他软件,它说了一些关于临时文件夹的安全性,所以我所做的是:
- 运行 并输入 %temp%
- 获取该文件夹的属性(点击空白处然后选择属性)
- 去security添加EveryOne并给他们完全权限,记得select替换所有子对象
尽情享受
P.S。我建议你只给系统用户访问权限,而不是给每个人访问权限就足够了,但我没有时间去尝试
当我在 windows 8.1 x64(最后更新)上安装 JDK 8u45 时,我收到向导的回滚操作并且安装完成,这是错误日志
Action 22:26:50: PublishProduct. Publishing product information
1: {64A3A4F4-B792-11D6-A78A-00B0D0180450}
Action 22:26:50: unziptools. Extracting Installer
CustomAction unziptools returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 22:26:51: InstallFinalize. Return value 3.
Action 22:26:51: Rollback. Rolling back action:
Rollback: Extracting Installer
Rollback: Publishing product information
Rollback: Publishing product features
Rollback: Registering product
Rollback: Registering user
Rollback: Writing system registry values
Rollback: Copying new files
Rollback: Creating folders
Rollback: Removing files
Rollback: Removing ODBC components
Rollback: Updating component registration
Action ended 22:26:51: INSTALL. Return value 3.
Action ended 22:26:51: ExecuteAction. Return value 3.
Action 22:26:51: SetupCompleteError.
Action start 22:26:51: SetupCompleteError.
Action 22:26:51: SetupCompleteError. Dialog created
Action ended 22:26:54: SetupCompleteError. Return value 2.
Action ended 22:26:54: INSTALL. Return value 3.
=== Logging stopped: 15/04/2015 22:26:54 ===
MSI (c) (F8:D4) [22:26:54:995]: Product: Java SE Development Kit 8 Update 45 (64-bit) -- Installation operation failed.
MSI (c) (F8:D4) [22:26:54:997]: Windows Installer installed the product. Product Name: Java SE Development Kit 8 Update 45 (64-bit). Product Version: 8.0.450.14. Product Language: 1033. Manufacturer: Oracle Corporation. Installation success or error status: 1603.
但我在 windows 7 SP1 x64 上安装成功 谁能帮帮我!
错误似乎源自 unziptools
CustomAction unziptools returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
这是加入 AD 的本地化 W8.1 中的一个已知错误,尽管它似乎被标记为已修复。
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8050838
如果您使用的不是英语,一个可能的解决方法是转到您的控制面板、区域设置并安装英语语言包。
还要确保检查选项,如下图所示:
另一个可能的解决方案在bug中标出: https://bugs.openjdk.java.net/browse/JDK-8028366
解决方案是关闭所有打开的浏览器并终止它们的进程,因为安装无法删除与 jre/jdk.
相关的一些文件错误未显示在日志中,因为这些错误被错误地标记为信息,但错误应显示如下:
Info 1603.The file C:\Program Files\Java\jre6\bin\jp2ssv.dll is being held in use by the following process: Name: iexplore, ID: 1860, Window Title: (not determined yet). Close that application and retry.
Info 1603.The file C:\Program Files\Java\jre6\bin\jp2ssv.dll is being held in use by the following process: Name: iexplore, ID: 7708, Window Title: (not determined yet). Close that application and retry.
Info 1603.The file C:\Program Files\Java\jre6\bin\jp2ssv.dll is being held in use by the following process: Name: iexplore, ID: 6280, Window Title: (not determined yet). Close that application and retry.
Info 1603.The file C:\Program Files\Java\jre6\bin\ssv.dll is being held in use by the following process: Name: iexplore, ID: 1860, Window Title: (not determined yet). Close that application and retry.
Info 1603.The file C:\Program Files\Java\jre6\bin\ssv.dll is being held in use by the following process: Name: iexplore, ID: 7708, Window Title: (not determined yet). Close that application and retry.
Info 1603.The file C:\Program Files\Java\jre6\bin\ssv.dll is being held in use by the following process: Name: iexplore, ID: 6280, Window Title: (not determined yet). Close that application and retry.
我终于找到了解决方案,我正在卸载一些其他软件,它说了一些关于临时文件夹的安全性,所以我所做的是:
- 运行 并输入 %temp%
- 获取该文件夹的属性(点击空白处然后选择属性)
- 去security添加EveryOne并给他们完全权限,记得select替换所有子对象
尽情享受
P.S。我建议你只给系统用户访问权限,而不是给每个人访问权限就足够了,但我没有时间去尝试