Expecting an absolute path of the library | weblogic

If installing Oracle WebLogic 10.3.3 on Microsoft Windows 2008 R2 64-bit failed with the following error:

java.exe -jar installer.jar

Exception in thread "winRegistry" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: jni_winx64
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
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(Unknown Source)

 

You are using the wrong file to start the installation (installer.jar).

The generic installer which is available for download is wls1033_generic.jar. installer.jar is only a jar file inside that archive.

How to Solve it:

You should use the file wls1033_generic.jar for installing Weblogic Server without exploding it or extracting anything from it.

Download the WebLogic Server 10.3.3 generic installer wls1033_generic.jar which is available for download.

Make sure that you have installed the appropriate JDK.

Add the Java bin directory of the appropriate JDK to the beginning of the PATH variable definition on the target system. For example:

set PATH=%JAVA_HOME\bin;%PATH%

Run the command “java -version” to ensure that your JAVA_HOME refers to the correct JDK.

Go to the directory where you downloaded wls1033_generic.jar.

Launch the installer by entering the command

java -jar wls1033_generic.jar

In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.

2 Responses

  1. In my case, the dll is provided inside the _native_ directory.

    I ran the command as following:

    java -Djava.library.path=./native -jar installer.jar

    * weblogic 10.3.6

  2. Chethan says:

    Still facing the issue with 10.3.3 weblogic

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.