安装weblogic报错Exception in thread “winRegistry“ java.lang.UnsatisfiedLinkError

在尝试通过命令行安装Weblogic 10.3.6时遇到错误,错误信息涉及到`jni_winx64`库的加载失败。问题的根本原因是jar文件的存放路径包含了中文字符。解决方案是将jar文件移动到一个全英文且无空格和特殊字符的路径下进行安装。确保安装路径的合规性可以避免类似问题的发生。
摘要由CSDN通过智能技术生成

0x00 问题描述

命令行安装weblogic 10.3.6时报错,报错信息如下:

D:\下载\weblogic>"E:Program Files\Java\jdk1.7.0_80\bin\java.exe" -D64 -jar wls1036_generic.jar
Exception in thread "winRegistry" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: jni_winx64
        at java.lang.Runtime.load0(Runtime.java:792)
        at java.lang.System.load(System.java:1062)
        at com.bea.plateng.common.jni.JNIUtil.loadLibrary(JNIUtil.java:255)
        at com.bea.plateng.common.jni.Win32Registry.<clinit>(Win32Registry.java:20)
        at com.bea.plateng.common.jni.WinRegistryHelper.getRegistry(WinRegistryHelper.java:35)
        at com.bea.plateng.wizard.installer.silent.tasks.WinRegistryTask.execute(WinRegistryTask.java:262)
        at com.bea.plateng.wizard.installer.silent.tasks.WinRegistryTask.run(WinRegistryTask.java:251)
        at java.lang.Thread.run(Thread.java:745)

0x01 问题原因

原因是jar文件的存放路径中包含中文,只需要更换成英文路径即可。需要格外注意jar存放路径中不能包含空格,中文和特殊字符。

The reason is that the path where the jar is stored contains Chinese, and the replacement path can be installed normally; be careful about spaces, Chinese and special characters in the path.

0x02 参考文献

https://titanwolf.org/Network/Articles/Article?AID=12f143a6-72de-4e88-aafc-6c5fe9cd227a#gsc.tab=0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值