JSL with Java-11 not starting on Windows Server 2011 or older
Lightweight Java Service Wrapper for Windows
Brought to you by:
roeschter
Not really a bug-report, but maybe this post helps others having the same issue:
We experienced problems when using JSL with Liberica-Java-11 on older Windows Server machines (older than Windows Server 11).
The log-file is telling us something like that
2021-01-14 15:55:29: Path Variable:
2021-01-14 15:55:29: C:\Program Files (x86)\AdoptOpenJDK\jre-11.0.7.10-hotspot\bin;C:\Program Files (x86)\AdoptOpenJDK\jre-8.0.222.10-openj9\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft\Exchange Server\V14\bin;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\PMW32\bin\LL21;.\jre\\bin
2021-01-14 15:55:29: Die angegebene Prozedur wurde nicht gefunden. (0x7f)
2021-01-14 15:55:29: Error loading JVM
2021-01-14 15:55:29: .\jre\\bin\server\jvm.dll
This took us several hours to solve, but eventually, we found that the jvm.dll has a dependency to vcruntime140.dll which is part Visual C++ Redistributable für Visual Studio 2015. Obviously Visual C++ Redistributable für Visual Studio 2015 is not installed on all older systems. Installing it, solved the issue for us.
I'm not sure if JSL is able to give some more detailed error message?
Hello, I didn't notice this report. Better send me E-Mail. But as to the issue.
jvm.dll is part of the your Java Runtime. In this case LIberica. Therefore the problem lies with Liberica, not the JSL.