I would like to run a Java application as a service. Unfortunately, I am limited in that I can\'t use something like the Java Service Wrapper (which does appear to be an ex
You can use NSSM like this:
nssm install MyService "%JAVA_HOME%\bin\java.exe" -jar "path\to\the\file.jar"