Troubleshooting
Problem
Error while installing HF on MCF Foundation 8.0 : InvocationTargetException / no ICE_JNIRegistry in java.library.path
Symptom
While installing HF on Foundation 8.0, the following error occurs:
[java] Caused by: java.lang.UnsatisfiedLinkError: no ICE_JNIRegistry in java.library.path
Error Message[java] Exception in thread "main" java.lang.Exception:
java.lang.reflect.InvocationTargetException
[java] at
com.sterlingcommerce.woodstock.noapp.NoAppLoader.main(NoAppLoader.java:81)
[java] Caused by: java.lang.reflect.InvocationTargetException
[java]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br
/> [java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
com.sterlingcommerce.woodstock.noapp.NoAppLoader.main(NoAppLoader.java:78)
[java] Caused by: java.lang.UnsatisfiedLinkError: no ICE_JNIRegistry in
java.library.path
[java] at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
[java] at
java.lang.Runtime.loadLibrary0(Runtime.java:822)
[java] at
java.lang.System.loadLibrary(System.java:993)
[java] at
com.ice.jni.registry.Registry.<clinit>(Registry.java:116)
[java] at
com.sterlingcommerce.woodstock.install.utils.UpdateWindowsPath.getCurrentPath(Up
dateWindowsPath.java:50)
Resolving The Problem
This error occurs because the ICE_JNIRegistry.dll file can not be found (as
mentioned in the trace: no ICE_JNIRegistry in java.library.path)
The
ICE_JNIRegistry.dll contains native code needed for reading Windows
Registry.
This dll file is present in Foundation 8.0 at
%INSTALL_DIR%\lib\jni\windows. To overcome this error you need to place the
path to this dll file in the PATH variable.
You may also wish to try copying the .dll from your \lib\jni\windows folder to C:\Windows\systems32.
Historical Number
NFX5405
Product Synonym
[<p><b>]Function Area[</b><p>];Installation;[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21558520