was7修改java_WAS7.0安装补丁升级程序无法替换文件 java/docs/autorun.inf解决办法

OS:Win7 64bit

WAS版本:WASND_7.0_Windows_x64_C1G2JML.zip

WAS补丁升级程序版本:7.0.0.13-WS-UPDI-WinAMD64

异常信息:

Caused by: com.ibm.ws.install.ni.framework.fileactions.NIFFileActionIOException: 无法替换文件 java/docs/autorun.inf

在WAS补丁升级程序安装包WS-UPDI-WinAMD64\JDK\jre.pak\repository\package.java.jre\java\docs下发现缺少autorun.inf文件

不知道是不是一个bug,还是获取的安装包不完整

另辟蹊径

{WAS_HOME}\AppServer\java\docs\目录下也有一个autorun.inf文件,内容如下:

;TODO Add custom autorun semaphore for the launchpad project. Remove this line when this task is complete

;

; Setting and checking semaphores prevents the same launchpad from running multiple instances on the same computer.

;

; Customize the -c and -s switches in the following command. Create semaphores with a unique name for a product.

;

; SYNTAX:

;

; open=launchpad.exe [-c] semaphoreName [-s] semaphoreName launchpad\lauchpad.bat

;

; -c Checks for the specified semaphore and if it exists, exits without starting the program.

; You should add a -s parameter with the same semaphore name to this file and the launchpad.ini file

; to prevent autorun from starting a second launchpad if this CD is swapped.

; You can specify multiple -c options.

;

; -s Sets the specified semaphore so that other programs can check for it.

; You can specify multiple -s options.

[autorun]

open=launchpad.exe -c demoDisableAutorun launchpad\launchpad.bat

可以将此文件拷贝到WAS补丁升级程序安装包对应目录重新启动安装程序即可

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值