This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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: 39578
    
  27
Start by reading all the pages linked in the "Documentation" menu.


Ping & DNS - updated with new look and Ping home screen widget
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: 39578
    
  27
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)?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to install Java Application as a Service?
 
Similar Threads
application server installation
Need Answer about JavaMail
Commons Daemon
Installation of a Swing Application
Need Answer about JavaMail