I downloaded SCM 2.33.0 on Windows 7 x64.
Using OpenJDK v11 x64
My scm-server.xml has following lines
<env name="JAVA_HOME" value="C:\Program Files\Eclipse Adoptium\jdk-11.0.15.10-hotspot" />
<!--
Uncomment the line below and insert a path,
if you want to change the location of your SCM-Manager home directory.
-->
<env name="SCM_HOME" value="C:\SCM-Server" />
<executable>%JAVA_HOME%\bin\java</executable>
When running with install parameter, I receive below errors (I confirm that .NET v4 is installed in my system)
C:\scm-server>scm-server.exe install
2022-05-05 21:12:55,403 FATAL - Unhandled exception System.PlatformNotSupportedException: The native library 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\wminet_utils.dll' does not have all required functions. Please, update the .NET Framework.
at System.Management.WmiNetUtilsHelper.<>c__DisplayClass104_0.<LoadPlatformNotSupportedDelegates>b__39(Int32 _, IntPtr __, APTTYPE& ___)
at System.Management.MTAHelper.IsNoContextMTA()
at System.Management.MTAHelper.CreateInMTA(Type type)
at System.Management.ManagementPath.CreateWbemPath(String path)
at System.Management.ManagementPath..ctor(String path)
at System.Management.ManagementScope..ctor(String path, ConnectionOptions options)
at WMI.WmiRoot..ctor()
at WinSW.Program.Run(String[] argsArray, IWinSWConfiguration descriptor)
at WinSW.Program.Main(String[] args) System.PlatformNotSupportedException: The native library 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\wminet_utils.dll' does not have all required functions. Please, update the .NET Framework.
at System.Management.WmiNetUtilsHelper.<>c__DisplayClass104_0.<LoadPlatformNotSupportedDelegates>b__39(Int32 _, IntPtr __, APTTYPE& ___)
at System.Management.MTAHelper.IsNoContextMTA()
at System.Management.MTAHelper.CreateInMTA(Type type)
at System.Management.ManagementPath.CreateWbemPath(String path)
at System.Management.ManagementPath..ctor(String path)
at System.Management.ManagementScope..ctor(String path, ConnectionOptions options)
at WMI.WmiRoot..ctor()
at WinSW.Program.Run(String[] argsArray, IWinSWConfiguration descriptor)
at WinSW.Program.Main(String[] args)
I could not find any “system requirements” document so I have no idea if there is any part of my system that is not supported.
Any help is appreciated.