wood burning stoves 2.0*
The moose likes Java in General and the fly likes How to install Java Application as a Service? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to install Java Application as a Service?" Watch "How to install Java Application as a Service?" New topic
Author

How to install Java Application as a Service?

cle tan
Ranch Hand

Joined: Jun 11, 2012
Posts: 68
If possible, I would not like to conceal the path of my java application, so I will like to install the bat file that runs the java application as a service. The java application is an application that is supposed to run 24/7

I have seen an alternative :Java Service Wrapper

http://wrapper.tanukisoftware.com/doc/english/introduction.html#service but I do not have an idea how to use it.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41046
    
  43
Start by reading all the pages linked in the "Documentation" menu.


Ping & DNS - my free Android networking tools app
cle tan
Ranch Hand

Joined: Jun 11, 2012
Posts: 68
Ulf Dittmer wrote:Start by reading all the pages linked in the "Documentation" menu.


I read already
I still don't get it.

Do I need to add something to my existing code

Or do I copy and paste the application class then it will install the java service?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41046
    
  43
Which of the 4 integration methods outlined in http://wrapper.tanukisoftware.com/doc/english/integrate.html did you decide upon? Did you notice that for each of them there's a link to a more detailed page with further instructions for Windows/Linux? Have you read the respective page for the integration method you chose? Which actual steps did you do (or try to do)?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to install Java Application as a Service?
 
Similar Threads
Need Answer about JavaMail
application server installation
Need Answer about JavaMail
Installation of a Swing Application
Commons Daemon