The easiest solution I found for this so far is the Non-Sucking Service Manager
Usage would be
nssm install <servicename> "C:\Program Files\Java\jre7\java.exe" "-jar <path-to-jar-file>"
More Related Contents:
- How do I read a resource file from a Java jar file?
- What is a fat JAR? [duplicate]
- Call “java -jar MyFile.jar” with additional classpath option
- How to use classes from .jar files?
- How to write a Java program which can extract a JAR file and store its data in specified directory (location)?
- What is the maven-shade-plugin used for, and why would you want to relocate Java packages?
- Java creating .jar file
- How to use .jar files in NetBeans?
- How do I read the manifest file for a webapp running in apache tomcat?
- Eclipse: Attach source/javadoc to a library via a local property
- Modifying a file inside a jar
- Multiple runnable classes inside JAR, how to run them?
- Run exe which is packaged inside jar file
- Including Images with an executable jar
- What version of javac built my jar?
- What is the best way to avoid maven-jar?
- Can I set Java max heap size for running from a jar file?
- How to reference JSF managed beans which are provided in a JAR file?
- Importing external .jar file to Android project [duplicate]
- NetBeans – deploying all in one jar [duplicate]
- How do I access a config file inside the jar?
- Difference between maven plugins ( assembly-plugins , jar-plugins , shaded-plugins)
- Could not find or load main class with a Jar File
- How do I compile a java file that has jar dependencies?
- Convert .Jar to .Dmg
- Run a jar File from java program
- Creating a jar file from a Scala file
- Dynamically loading plugin jars using ServiceLoader
- eclipse: how to debug a Java program as a .jar file?
- How to run Java program in terminal with external library JAR