DEVTEST is installed successfully but while launching Workstation it is throwing an error message
Error -
java.lang.ExceptionInInitializerError
at com.jniwrapper.win32.system.Kernel32.<clinit>(Kernel32.java:36)
at com.itko.lisa.util.os.OSUtils.getShortPath(OSUtils.java:297)
at com.itko.lisa.util.os.OSUtils.buildWindowsFriendlyPath(OSUtils.java:285)
at com.itko.lisa.test.Environment.figureLisaHome(Environment.java:595)
at com.itko.lisa.test.Environment.<clinit>(Environment.java:430)
at com.itko.lisa.gui.TestManager.main(TestManager.java:112)
at com.itko.lisa.gui.LISAWorkstation.main(LISAWorkstation.java:16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
Caused by: com.jniwrapper.LibraryNotFoundException: c:\windows\syswow64\kernel32.dll
at com.jniwrapper.Library.loadLibrary(Native Method)
at com.jniwrapper.Library.a(SourceFile:363)
at com.jniwrapper.Library.load(SourceFile:327)
at com.jniwrapper.util.FunctionCache.a(SourceFile:89)
at com.jniwrapper.util.FunctionCache.getFunction(SourceFile:114)
at com.jniwrapper.win32.system.VersionInfo.<init>(VersionInfo.java:69)
at com.jniwrapper.win32.system.Kernel32.isUnicode(Kernel32.java:77)
at com.jniwrapper.win32.FunctionName.<clinit>(FunctionName.java:24)
... 14 more
1. User is using Windows on Windows and installed 64-bit DevTest
2. This being WOW, it is recommended to use the internal OS bit mode across all the software on this OS.
For eg: if the OS is 32-bit Windows on 64-bit Windows, then install 32-bit DevTest
We tested three different solutions for this case and we have seen that all the three worked. Below are the three approaches.
1. Install 32-bit LISA
2. Copy the 64 bit DLL from System32 to LISA bin folder.
3. Correct the PATH System Variable to keep the path to System32 at the top of the list.
None