I am trying to use JNotify to monitor directory changes. My app works because it is considered to be a normal Java app, but when I modified the code to run WinRun4J to run my app as a Windows service, load the service and start fine Happens, the listener becomes but JNotify.addWatch calls the code no exception is thrown thanks.
Problem detected JNotify uses a dll I place the DLL in the 'path' environment variable Added and it works fine. Sorry to waste somebody's time.
Comments
Post a Comment