# SCM installation problem on Windows 10

**URL:** <https://community.cloudogu.com/t/scm-installation-problem-on-windows-10/525>\
**Category:** SCM-Manager Bug Reports\
**Created:** [February 11, 2022, 12:09pm UTC](https://community.cloudogu.com/t/scm-installation-problem-on-windows-10/525 "2022-02-11T12:09:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![njdewaal](https://avatars.discourse-cdn.com/v4/letter/n/f05b48/32.png) [@njdewaal](https://community.cloudogu.com/u/njdewaal)\
**Post date:** [February 11, 2022, 12:09pm UTC](https://community.cloudogu.com/t/scm-installation-problem-on-windows-10/525/1 "2022-02-11T12:09:43Z")

</div>

Hello I am baffled by a faulty installation on Windows. Thus far I’ve tried to reinstall Java and update the jdk environment variable with no success. Here is my log.

2022-02-11 13:59:43,762 INFO - Starting C:\Program Files\Java\jre-11.0.7\bin\java -cp “C:\Users\Johann\Desktop\Workspace\SCM\scm-server\conf”;“C:\Users\Johann\Desktop\Workspace\SCM\scm-server\lib\*” -DBASE\_DIR=“C:\Users\Johann\Desktop\Workspace\SCM\scm-server” -Djava.awt.headless=true -Dlogback.configurationFile=logging.xml sonia.scm.server.ScmServerDaemon  
2022-02-11 13:59:43,845 FATAL - Unhandled exception  
System.ComponentModel.Win32Exception (2): The system cannot find the file specified.  
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)  
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)  
at System.Diagnostics.Process.Start()  
at WinSW.Util.ProcessHelper.StartProcessAndCallbackForExit(Process processToStart, String executable, String arguments, Dictionary`2 envVars, String workingDirectory, Nullable`1 priority, ProcessCompletionCallback callback, Boolean redirectStdin, LogHandler logHandler, Boolean hideWindow)  
at WinSW.WrapperService.StartProcess(Process processToStart, String arguments, String executable, LogHandler logHandler, Boolean redirectStdin)  
at WinSW.WrapperService.OnStart(String args)  
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)  
— End of stack trace from previous location where exception was thrown —  
at System.ServiceProcess.ServiceBase.Run(ServiceBase services)  
at System.ServiceProcess.ServiceBase.Run(ServiceBase service)  
at WinSW.Program.Run(String argsArray, IWinSWConfiguration descriptor)  
at WinSW.Program.Main(String args)

I will appreciate any assistance, thank you very much.

---

<div class="post-metadata">

**Author:** ![pahrendt](https://dub1.discourse-cdn.com/flex013/user_avatar/community.cloudogu.com/pahrendt/32/1773_2.png) [@pahrendt](https://community.cloudogu.com/u/pahrendt)\
**Post date:** [February 11, 2022, 2:22pm UTC](https://community.cloudogu.com/t/scm-installation-problem-on-windows-10/525/2 "2022-02-11T14:22:00Z")

</div>

Hello njdewaal,  
Thank you for your interest in SCM-Manager and welcome to myCloudogu! We will look into your issue as soon as possible.

Regards, Philipp

---

<div class="post-metadata">

**Author:** ![pahrendt](https://dub1.discourse-cdn.com/flex013/user_avatar/community.cloudogu.com/pahrendt/32/1773_2.png) [@pahrendt](https://community.cloudogu.com/u/pahrendt)\
**Post date:** [February 14, 2022, 1:50pm UTC](https://community.cloudogu.com/t/scm-installation-problem-on-windows-10/525/3 "2022-02-14T13:50:29Z")

</div>

Hello again,  
We can reproduce your issue and are currently trying to find a solution.

Regards, Philipp

---

<div class="post-metadata">

**Author:** ![matthias.thieroff](https://dub1.discourse-cdn.com/flex013/user_avatar/community.cloudogu.com/matthias.thieroff/32/1176_2.png) [@matthias.thieroff](https://community.cloudogu.com/u/matthias.thieroff)\
**Post date:** [February 15, 2022, 8:41am UTC](https://community.cloudogu.com/t/scm-installation-problem-on-windows-10/525/4 "2022-02-15T08:41:20Z")

</div>

Hello njdewaal

It seems that resolving the JAVA\_HOME environment variable is a problem. The Windows service runs with elevated privileges, so it tries to resolve JAVA\_HOME from system environment and not from user environment.

Could you please try to either set a JAVA\_HOME variable in your system environment or explicitly set the variable in your `scm-server.xml`?

```auto
<env name="JAVA_HOME" value="C:\Program Files\Eclipse Adoptium\jdk-11.0.14.9-hotspot" />

```

Regards,  
Matthias

---

<div class="post-metadata">

**Author:** ![christoph.loose](https://dub1.discourse-cdn.com/flex013/user_avatar/community.cloudogu.com/christoph.loose/32/1400_2.png) [@christoph.loose](https://community.cloudogu.com/u/christoph.loose)\
**Post date:** [September 28, 2022, 9:59am UTC](https://community.cloudogu.com/t/scm-installation-problem-on-windows-10/525/5 "2022-09-28T09:59:20Z")

</div>

I am closing this topic as there has been no activity for more than 30 days.
