MinimServer Forum
Minimwatch Unsatisfied Link error on Windows - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: Minimwatch Unsatisfied Link error on Windows (/showthread.php?tid=3502)



Minimwatch Unsatisfied Link error on Windows - struwwelpeter - 07-08-2016 10:32

Hi all,

New user here, just getting my old Synology DS210j running with Minimserver. I've got Minimwatch running nicely on my Mac OSX El Capitan, but it throws an error when I install it on my Windows box. Can anyone help me?

Code:
MinimWatch 0.8.4 update 40, Copyright (c) 2012-2016 Simon Nash. All rights reserved.
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
Platform default charset is windows-1252
java.lang.UnsatisfiedLinkError: C:\Users\PGB\AppData\Roaming\MinimWatch\tmp\native\ohNet.dll: The process cannot access the file because it is being used by another process
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at org.jminim.lib.OhNetService.createLibrary(OhNetService.java:573)
    at org.jminim.lib.OhNetService.createControlPointStack(OhNetService.java:517)
    at org.jminim.lib.OhNetService.createDeviceListFactory(OhNetService.java:409)
    at org.jminim.lib.OhNetService.access$2100(OhNetService.java:47)
    at org.jminim.lib.OhNetService$Proxy.createDeviceListFactory(OhNetService.java:961)​
    at org.jminim.lib.ObserverService.startOhNet(ObserverService.java:97)
    at org.jminim.lib.ObserverService.access$300(ObserverService.java:42)
    at org.jminim.lib.ObserverService$ObserverImpl.start(ObserverService.java:355)
    at com.minimserver.watch.MinimWatch.doStart(MinimWatch.java:194)
    at com.minimserver.watch.MinimWatch.start(MinimWatch.java:47)
    at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:167)
    at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
    at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:47)
    at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
    at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:1417)
    at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1100)
    at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:118)
    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 org.jminim.launch.Launcher.doLaunch(Launcher.java:677)
    at org.jminim.launch.Launcher.launch(Launcher.java:210)
    at com.minimserver.watch.launch.LaunchWatch.main(LaunchWatch.java:34)
Startup complete

Cheers,
Peter.


RE: Minimwatch Unsatisfied Link error on Windows - simoncn - 07-08-2016 15:59

This is likely to be caused by interference from an antivirus program. Try disabling any antivirus program that you have running to see if this fixes the problem.


RE: Minimwatch Unsatisfied Link error on Windows - struwwelpeter - 07-08-2016 17:15

(07-08-2016 15:59)simoncn Wrote:  This is likely to be caused by interference from an antivirus program. Try disabling any antivirus program that you have running to see if this fixes the problem.

Thanks for the quick response, Simon - and yes, that seems to sort it out.
Should I set an antivirus exception for that folder, would that fix it?


RE: Minimwatch Unsatisfied Link error on Windows - simoncn - 07-08-2016 22:47

You could try that. If it doesn't solve the problemat, you would need to contact the support team for your antivirus software for a solution.