Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java as a service

Status
Not open for further replies.

ksoong

Programmer
Oct 3, 2000
57
CA
I am wondering if anybody knows how to create or install or run a java class as a service that can be run from the start of the computer in the background.

thanks

ken
 
Hi,

Create one batch file and add the following code in it.

@echo off
javaw <yourjavaclassfile>

save the file and put it in the startup. Thing is done

bye
 
That is not an NT service. That is just a Jave Application that runs on startup. I think he was referring to an actual Service. You know the ones that get registered with NT and show in the services menu. I think this question would be better posting on a board dedicated to Windows programming. I have never tried to register a Java Application as a Service but I don't think that it is very difficult. Wushutwist
 
yeah i was talking about a java application that gets registered as a service. i was hoping it could run in win9x too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top