I'm trying to run a Java application as Windows service using JavaService.exe (http://forge.ow2.org/projects/javaservice) On Windows Server 2012.
I'm getting a generic error and the service does not start. In the event viewer I get the following:
The description for Event ID 4097 from source 'XXX" cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
Any Idea how to ran java as windows service in windows server 2012
I managed to get it to work by copying the msvcr100.dll file from the bin/ directory of Java 7 into the same directory as the java service executable