I need to start my java class like a background process without using jsvc. How could I do this?
1 Answer
In linux you can easily do it with :
java -jar myjar.jar & Under windows you can try using the javaw instead of java :
javaw -jar myjar.jar Otherwise you will need Apache Commons Daemon service or daemon wrapper.