Forum Stats

  • 3,759,052 Users
  • 2,251,495 Discussions
  • 7,870,477 Comments

Discussions

How can I run a java-application on starting of Windows 2000

843798
843798 Member Posts: 24,864
How can I run a java-application without any user on starting of Windows 2000?

For example, if the computer is restarted and nobody enter into it yet, my java-application should run anyway.

How can I do that?

Comments

  • 843798
    843798 Member Posts: 24,864
    Hi, you have to put it in a Windows service.
    To do this you have a program, Srvany.exe that allow to insert a .exe or .bat program in a Windows service.
    For example, i develop a program, TomcatGuardian and i put it in a service because i need to run it in a server without Administrator logged in.
    Regards,
    Ivan.
  • 843798
    843798 Member Posts: 24,864
    You can use the Windows Task Scheduler to run the program when the system starts up. You can find the Scheduled Tasks icon in the control panel
This discussion has been closed.